Changes in uspace/lib/posix/assert.h [4cf8ca6:1e591c8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/assert.h
r4cf8ca6 r1e591c8 40 40 41 41 #ifndef NDEBUG 42 #define assert(expr) \ 43 do { \ 44 if (!(expr)) { \ 45 assert_abort(#expr, __FILE__, __LINE__); \ 46 } \ 47 } while (0) 42 #define assert(expr) ((expr) ? (void) 0 : assert_abort(#expr, __FILE__, __LINE__)) 48 43 #else 49 44 #define assert(expr) ((void) 0)
Note:
See TracChangeset
for help on using the changeset viewer.