Changeset 1e591c8 in mainline
- Timestamp:
- 2011-07-26T22:19:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77c6698
- Parents:
- eb1edb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/assert.h
reb1edb0 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.