diff options
Diffstat (limited to 'src/system/dlt-system.h')
-rw-r--r-- | src/system/dlt-system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/system/dlt-system.h b/src/system/dlt-system.h index d603dcf..fd741dc 100644 --- a/src/system/dlt-system.h +++ b/src/system/dlt-system.h @@ -70,6 +70,11 @@ #define MAX_THREADS 8 +// Macros +#define MALLOC_ASSERT(x) if(x == NULL) {\ + fprintf(stderr, "Out of memory\n");\ + abort();} + /** * Configuration structures. * Please see dlt-system.conf for explanation of all the options. |