summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-17 23:17:07 +0000
committerStef Walter <stef@memberwebs.com>2004-08-17 23:17:07 +0000
commit6df85597413840846409f7434941ed0f10ec4a38 (patch)
tree71968501063d017ae312a2a1fc7bf470bf19a0f5 /common/compat.h
parent4faa3b65abad58a20c5e7e401361d30188460a83 (diff)
- Proper separation between common and daemon directories.
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/compat.h b/common/compat.h
index c7f86cc..c292652 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -1,5 +1,4 @@
-
#ifndef _COMPAT_H_
#define _COMPAT_H_
@@ -9,6 +8,14 @@
#include <sys/types.h>
+
+#ifdef _DEBUG
+ #include "assert.h"
+ #define ASSERT assert
+#else
+ #define ASSERT
+#endif
+
#ifndef HAVE_STDARG_H
# error ERROR: Must have a working stdarg.h header
#else