Remove JQ_DEBUG #define and jq_test binary, simplifying build.

The debugging features previously available via JQ_DEBUG are now
command-line options.
This commit is contained in:
Stephen Dolan committed 2013-05-05 23:12:10 +01:00
1 parent c1748fa633
commit 1741d8c161
7 files changed
+56 -50

No files matched your search

+2 -2
View File
@@ -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