1
0
Fork 0

assert: Fix Lth_Assert not using stderr

master
Marrub 2016-10-21 14:46:53 -04:00
parent 36f008b298
commit f30001b818
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
#else
#define Lth_assert(expression) \
if(!(expression)) \
printf("[lithos3] Assertion failed in %s (%s:%i): %s\n", \
fprintf(stderr, "[lithos3] Assertion failed in %s (%s:%i): %s\n", \
__func__, __FILE__, __LINE__, #expression); \
else \
((void)0)