log needs stdlib for abort

This commit is contained in:
Noel Berry 2020-08-27 19:11:30 -07:00
parent 5bfd9ee01c
commit 4c0531a3f3

View File

@ -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)