summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-05-13 09:19:15 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-05-13 09:19:15 +0000
commit837e070f314f6b8b9e64ec9fb09dd0e0bf6226e9 (patch)
treeaaf6a56cd542a05fb2fbe88d381e91c951c74933 /newlib/libc/stdio/mktemp.c
parent878e4ecbe8ae63355c83bed46976c9a7533622ec (diff)
downloadcygnal-837e070f314f6b8b9e64ec9fb09dd0e0bf6226e9.tar.gz
cygnal-837e070f314f6b8b9e64ec9fb09dd0e0bf6226e9.tar.bz2
cygnal-837e070f314f6b8b9e64ec9fb09dd0e0bf6226e9.zip
* libc/locale/ldpart.c (__part_load_locale): Substitute
__CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64. * libc/search/hash.c (__hash_open): Ditto. (init_hash): Ditto. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/makebuf.c (__smakebuf): Ditto. * libc/stdio/mktemp.c (_gettemp): Ditto.
Diffstat (limited to 'newlib/libc/stdio/mktemp.c')
-rw-r--r--newlib/libc/stdio/mktemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/mktemp.c b/newlib/libc/stdio/mktemp.c
index 24bbf67e1..66030a382 100644
--- a/newlib/libc/stdio/mktemp.c
+++ b/newlib/libc/stdio/mktemp.c
@@ -132,7 +132,7 @@ _DEFUN (_gettemp, (ptr, path, doopen),
if (*trv == '/')
{
*trv = '\0';
-#ifdef __CYGWIN_USE_BIG_TYPES__
+#ifdef __USE_INTERNAL_STAT64
if (_stat64_r (ptr, path, &sbuf))
#else
if (_stat_r (ptr, path, &sbuf))
@@ -162,7 +162,7 @@ _DEFUN (_gettemp, (ptr, path, doopen),
#endif
return 0;
}
-#ifdef __CYGWIN_USE_BIG_TYPES__
+#ifdef __USE_INTERNAL_STAT64
else if (_stat64_r (ptr, path, &sbuf))
#else
else if (_stat_r (ptr, path, &sbuf))