sl@0: /* sl@0: ****************************************************************************** sl@0: * sl@0: * Copyright (C) 2002-2003, International Business Machines sl@0: * Corporation and others. All Rights Reserved. sl@0: * sl@0: ****************************************************************************** sl@0: * sl@0: * File uassert.h sl@0: * sl@0: * Contains U_ASSERT macro sl@0: * sl@0: * By default, U_ASSERT just wraps the C library assert macro. sl@0: * By changing the definition here, the assert behavior for ICU can be changed sl@0: * without affecting other non-ICU uses of the C library assert(). sl@0: * sl@0: ****************************************************************************** sl@0: */ sl@0: sl@0: #ifndef U_ASSERT_H sl@0: #define U_ASSERT_H sl@0: /* utypes.h is included to get the proper define for uint8_t */ sl@0: #include "unicode/utypes.h" sl@0: #if U_RELEASE sl@0: #define U_ASSERT(exp) sl@0: #else sl@0: #include sl@0: #define U_ASSERT(exp) assert(exp) sl@0: #endif sl@0: #endif sl@0: sl@0: