summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-10-04 17:50:53 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-10-04 17:50:53 -0700
commit2024ae60d683dea2ee800e4b482ef840a510cf62 (patch)
tree368acf5d376cb82bbd2682475a32fbf5ff1c8e2e /config
parent276785a8ffa7b69913f1d8e27ba5b09ddebece93 (diff)
downloadnasm-2024ae60d683dea2ee800e4b482ef840a510cf62.tar.gz
config/msvc.h: inttypes.h and stdbool.h introduced in MSVS 2013
<inttypes.h> and <stdbool.h> were introduced in MS Visual Studio 2013, not 2015. See: https://blogs.msdn.microsoft.com/vcblog/2013/07/19/c99-library-support-in-visual-studio-2013/ Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/msvc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/msvc.h b/config/msvc.h
index b72cdceb..756d9570 100644
--- a/config/msvc.h
+++ b/config/msvc.h
@@ -58,7 +58,7 @@
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the <inttypes.h> header file. */
-#if _MSC_VER >= 1900
+#if _MSC_VER >= 1800
# define HAVE_INTTYPES_H 1
#endif
@@ -120,7 +120,7 @@
#define stat _stati64
/* Define to 1 if stdbool.h conforms to C99. */
-#if _MSC_VER >= 1900
+#if _MSC_VER >= 1800
# define HAVE_STDBOOL_H 1
#endif