diff options
Diffstat (limited to 'common/compat.h')
-rw-r--r-- | common/compat.h | 9 |
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 |