]> wimlib.net Git - wimlib/blob - include/wimlib/assert.h
compress.c, decompress.h: Use correct little endian annotations
[wimlib] / include / wimlib / assert.h
1 #ifndef _WIMLIB_ASSERT_H
2 #define _WIMLIB_ASSERT_H
3
4 #ifdef ENABLE_ASSERTIONS
5 #include <assert.h>
6 #  define wimlib_assert(expr) assert(expr)
7 #else
8 #  define wimlib_assert(expr)
9 #endif
10
11 #ifdef ENABLE_MORE_ASSERTIONS
12 #  define wimlib_assert2(expr) wimlib_assert(expr)
13 #else
14 #  define wimlib_assert2(expr)
15 #endif
16
17 #endif /* _WIMLIB_ASSERT_H */