summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-17 13:53:14 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-17 13:53:14 -0700
commitb8af9aa522935e7c261e8b4464dd2f4d0c972a14 (patch)
treef37823084167eef2f01238e658e6d4be05fdadc0 /nasm.h
parent2ced2ec3709d8cbcbb80d51f23092af260258cd1 (diff)
downloadnasm-b8af9aa522935e7c261e8b4464dd2f4d0c972a14.tar.gz
Cleaner way to handle MSVC's _snprintf() underscore damage
Some versions of MSVC have snprintf() and vsnprintf() only with a leading underscore. Handle that a bit more cleanly.
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/nasm.h b/nasm.h
index 6e231b61..4ae93b61 100644
--- a/nasm.h
+++ b/nasm.h
@@ -14,11 +14,7 @@
#include <stdio.h>
#include <inttypes.h>
#include "version.h" /* generated NASM version macros */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
+#include "compiler.h"
#include "insnsi.h" /* For enum opcode */
#ifndef NULL