diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-05 23:12:10 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-05 23:12:10 +0100 |
commit | 1741d8c1618c1826628c9deb70f3876ed22501f3 (patch) | |
tree | 10f92e4de8bbdfa4a164513c542c32fff1939982 /jv_alloc.h | |
parent | c1748fa633b327ab4c0146c70680b1583e74e54f (diff) |
Remove JQ_DEBUG #define and jq_test binary, simplifying build.
The debugging features previously available via JQ_DEBUG are now
command-line options.
Diffstat (limited to 'jv_alloc.h')
-rw-r--r-- | jv_alloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,12 +3,12 @@ #include <stddef.h> -#if JQ_DEBUG +#ifndef NDEBUG extern volatile char jv_mem_uninitialised; #endif static void jv_mem_invalidate(void* mem, size_t n) { -#if JQ_DEBUG +#ifndef NDEBUG char* m = mem; while (n--) *m++ ^= jv_mem_uninitialised ^ jv_mem_uninitialised; #endif |