From 3118429089d22af93099f7eea64c062842a8e499 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 6 Apr 2017 15:30:56 -0700 Subject: 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 --- config/msvc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') 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 -- cgit v1.2.1