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.
*/
#ifndef COMPILER_H
-#define COMPILER_H
+#define COMPILER_H 1
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#ifdef __GNUC__
# if __GNUC__ >= 4
# define _unused
#endif
-#endif
+#endif /* COMPILER_H */
#include <inttypes.h>
#include "version.h" /* generated NASM version macros */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef NULL
#define NULL 0
#endif
#define RDOFF_RDLAR_H 1
#include <inttypes.h>
+#include "config.h"
/* For non-POSIX operating systems */
#ifndef HAVE_GETUID