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 /compiler.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 'compiler.h')
-rw-r--r-- | compiler.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -16,7 +16,11 @@ */ #ifndef COMPILER_H -#define COMPILER_H +#define COMPILER_H 1 + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #ifdef __GNUC__ # if __GNUC__ >= 4 @@ -33,4 +37,4 @@ # define _unused #endif -#endif +#endif /* COMPILER_H */ |