mirror of
https://github.com/NoelFB/blah.git
synced 2025-06-29 19:25:26 +08:00
log needs stdlib for abort
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user