summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-04-06 15:30:56 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-06 15:48:51 -0700
commit3118429089d22af93099f7eea64c062842a8e499 (patch)
treeeb9a6ed31f831dabc0c75da8eb0254905a23f6e2 /config
parent0da1549b7386c60669b34819b0c93b700d212b3c (diff)
downloadnasm-3118429089d22af93099f7eea64c062842a8e499.tar.gz
Windows: clean up the handling of stat on Windows
[f]stat on Windows is messy: we need to use _stati64 for maximum compatibility, but because there is a bunch of stuff wrapped in macros, autoconf sometimes gets the wrong answers. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'config')
-rw-r--r--config/msvc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/msvc.h b/config/msvc.h
index 4ade0273..631652ef 100644
--- a/config/msvc.h
+++ b/config/msvc.h
@@ -113,6 +113,9 @@
/* Define to 1 if you have the `_fullpath' function. */
#define HAVE__FULLPATH 1
+/* Define to 1 if the system has the type `struct _stati64'. */
+#define HAVE_STRUCT__STATI64
+
/* Define to 1 if you have the `_stati64' function. */
#define HAVE__STATI64 1