summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-10-04 17:13:50 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-10-04 17:13:50 -0700
commit276785a8ffa7b69913f1d8e27ba5b09ddebece93 (patch)
treeb456f4beff7fcbcfb75affe930966f3df2f697b4 /include/compiler.h
parent397c169736925214b495d841f00a9ccd9b329e66 (diff)
downloadnasm-276785a8ffa7b69913f1d8e27ba5b09ddebece93.tar.gz
config: add configuration file for unknown compilers
Add a config header file for the most conservative case of a totally unknown compiler. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/compiler.h b/include/compiler.h
index c5f4ac9e..01ada6da 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -56,12 +56,10 @@
#ifdef HAVE_CONFIG_H
# include "config/config.h"
-/* autoconf doesn't define these if they are redundant, but we want to
- be able to #ifdef them... */
#elif defined(_MSC_VER) && (_MSC_VER >= 1310)
# include "config/msvc.h"
#else
-/* Add more compiler-specific header files here */
+# include "config/unknown.h"
#endif /* Configuration file */
/* This is required to get the standard <inttypes.h> macros when compiling