summaryrefslogtreecommitdiff
path: root/patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-12 19:19:18 (GMT)
committerGitHub <noreply@github.com>2017-02-12 19:19:18 (GMT)
commit5676c72d521cea0c67ec3624028b89fdfac1d291 (patch)
tree0b107911447878113dd9329f3a5fa00e20945827 /patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch
parent57e1e7e7429aa44ae5406409fad0d9341b86243c (diff)
parent7b86176b771e988b6c282275927188a2e6fdf710 (diff)
Merge pull request #590 from stilor/cygwin-old-gcc-glibc
Fix Cygwin build of old gcc and glibc
Diffstat (limited to 'patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch')
-rw-r--r--patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch b/patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch
new file mode 100644
index 0000000..9097628
--- /dev/null
+++ b/patches/glibc/2.14/110-Cygwin-doesnt-have-stat64.patch
@@ -0,0 +1,13 @@
+--- glibc-2.22/sunrpc/rpc_main.c.orig 2015-08-05 07:42:21.000000000 +0100
++++ glibc-2.22/sunrpc/rpc_main.c 2015-10-21 23:37:31.071268800 +0100
+@@ -51,6 +51,10 @@
+ #include "rpc_scan.h"
+ #include "proto.h"
+
++#if defined(__CYGWIN__)
++#define stat64 stat
++#endif
++
+ #include "../version.h"
+ #define PACKAGE _libc_intl_domainname
+