diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-04-13 20:06:41 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-04-13 20:06:41 +0000 |
commit | c40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57 (patch) | |
tree | e405d2b6af30d3e41a206dc8474e95da253dc653 /nasm.h | |
parent | 1a4440ac5860cb410895023b28f812f2c481c041 (diff) | |
download | nasm-c40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57.tar.gz nasm-c40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57.tar.bz2 nasm-c40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57.zip |
AIf we have config.h, we should actually include it!!
Apparently configure was generating config.h, and nothing ever actually
included it. Include it in nasm.h as well as compiler.h, and in
rdoff/rdlar.h which uses these macros.
There appears to be no use of HAVE_* macros in any file that doesn't
have nasm.h included; in fact, so far the only use has been in
rdoff/rdlar.h.
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,10 @@ #include <inttypes.h> #include "version.h" /* generated NASM version macros */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef NULL #define NULL 0 #endif |