diff options
author | Peter Johnson <peter@tortall.net> | 2001-12-03 03:05:51 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2001-12-03 03:05:51 +0000 |
commit | b3cb8c0292d307eff8f7646810d9e12f8f85f564 (patch) | |
tree | 9341628dc0393e1a79c16000ef057558f94acdcb /util.h | |
parent | e8d7d5cad93f6e055b0080395aa545e0e57d654f (diff) | |
download | yasm-b3cb8c0292d307eff8f7646810d9e12f8f85f564.tar.gz |
Move assert.h include to util.h
In util.h, define NDEBUG if not running lint.
svn path=/trunk/yasm/; revision=385
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -30,10 +30,15 @@ #include <stdio.h> +#if !defined(lint) +# define NDEBUG +#endif + #ifdef STDC_HEADERS # include <stddef.h> # include <stdlib.h> # include <string.h> +# include <assert.h> #endif #if defined(lint) |