src/common.h

changeset 525
4f6e46a3bfc3
parent 523
a12e36f2db5f
child 539
72ad83a67165
equal deleted inserted replaced
524:52d5884b753c 525:4f6e46a3bfc3
141 #ifdef assert 141 #ifdef assert
142 # undef assert 142 # undef assert
143 #endif // assert 143 #endif // assert
144 144
145 #ifdef DEBUG 145 #ifdef DEBUG
146 # define assert(N) { ((N) ? (void) 0 : assertionFailure (__FILE__, __LINE__, FUNCNAME, #N)) } 146 # define assert(N) { ((N) ? (void) 0 : assertionFailure (__FILE__, __LINE__, FUNCNAME, #N)); }
147 #else 147 #else
148 # define assert(N) {} 148 # define assert(N) {}
149 #endif // DEBUG 149 #endif // DEBUG
150 150
151 // Version string identifier 151 // Version string identifier

mercurial