mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-28 16:58:57 +08:00
log needs stdlib for abort
This commit is contained in:
parent
5bfd9ee01c
commit
4c0531a3f3
|
@ -3,6 +3,7 @@
|
|||
// Error / Abort
|
||||
#ifdef DEBUG
|
||||
|
||||
#include <stdlib.h>
|
||||
#define BLAH_ERROR(message) \
|
||||
do { Log::error(message "\n\tin file: %s:%d", __FILE__, __LINE__); abort(); } while(0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user