mirror of
https://github.com/NoelFB/blah.git
synced 2025-06-30 19:35:25 +08:00
log needs stdlib for abort
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
// Error / Abort
|
// Error / Abort
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#define BLAH_ERROR(message) \
|
#define BLAH_ERROR(message) \
|
||||||
do { Log::error(message "\n\tin file: %s:%d", __FILE__, __LINE__); abort(); } while(0)
|
do { Log::error(message "\n\tin file: %s:%d", __FILE__, __LINE__); abort(); } while(0)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user