summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/ldpart.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/ldpart.c')
-rw-r--r--newlib/libc/locale/ldpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/ldpart.c b/newlib/libc/locale/ldpart.c
index bdeea87f9..a284b9db2 100644
--- a/newlib/libc/locale/ldpart.c
+++ b/newlib/libc/locale/ldpart.c
@@ -98,7 +98,7 @@ __part_load_locale(const char *name,
fd = open(filename, O_RDONLY);
if (fd < 0)
goto no_locale;
-#ifdef __CYGWIN_USE_BIG_TYPES__
+#ifdef __USE_INTERNAL_STAT64
if (fstat64(fd, &st) != 0)
#else
if (fstat(fd, &st) != 0)