1 #ifndef _WIMLIB_ASSERT_H
2 #define _WIMLIB_ASSERT_H
4 #ifdef ENABLE_ASSERTIONS
6 # define wimlib_assert(expr) assert(expr)
8 # define wimlib_assert(expr)
11 #ifdef ENABLE_MORE_ASSERTIONS
12 # define wimlib_assert2(expr) wimlib_assert(expr)
14 # define wimlib_assert2(expr)
17 #endif /* _WIMLIB_ASSERT_H */