Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: icu46/source/common/uassert.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « icu46/source/common/uarrsort.c ('k') | icu46/source/common/ubidi.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 ******************************************************************************
3 *
4 * Copyright (C) 2002-2003, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 *
7 ******************************************************************************
8 *
9 * File uassert.h
10 *
11 * Contains U_ASSERT macro
12 *
13 * By default, U_ASSERT just wraps the C library assert macro.
14 * By changing the definition here, the assert behavior for ICU can be changed
15 * without affecting other non-ICU uses of the C library assert().
16 *
17 ******************************************************************************
18 */
19
20 #ifndef U_ASSERT_H
21 #define U_ASSERT_H
22 /* utypes.h is included to get the proper define for uint8_t */
23 #include "unicode/utypes.h"
24 #if U_RELEASE
25 #define U_ASSERT(exp)
26 #else
27 #include <assert.h>
28 #define U_ASSERT(exp) assert(exp)
29 #endif
30 #endif
31
32
OLDNEW
« no previous file with comments | « icu46/source/common/uarrsort.c ('k') | icu46/source/common/ubidi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698