Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-05-16 23:31:08 +0400
committerEric Blake <eblake@redhat.com>2007-05-16 23:31:08 +0400
commitf65607751cf60bb615ee0437a0d0984af47b0fb3 (patch)
tree2f3ceffee93dda94d4f1c1d85c0b90c61c7ad794 /newlib/libc/search
parent2ba0944446523f33f8f0f91b334eddd7f627e08e (diff)
* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
* libc/search/hash.c (__hash_open): Likewise.
Diffstat (limited to 'newlib/libc/search')
-rw-r--r--newlib/libc/search/hash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c
index 348cbaa93..8f56b6b9d 100644
--- a/newlib/libc/search/hash.c
+++ b/newlib/libc/search/hash.c
@@ -110,7 +110,11 @@ __hash_open(file, flags, mode, info, dflags)
{
HTAB *hashp;
+#ifdef __USE_INTERNAL_STAT64
+ struct stat64 statbuf;
+#else
struct stat statbuf;
+#endif
DB *dbp;
int bpages, hdrsize, new_table, nsegs, save_errno;