diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2015-10-21 23:48:16 +0100 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2015-11-13 02:17:45 +0000 |
commit | f9968501eeacbe6c289c93d87243473d78eb8d5c (patch) | |
tree | f0f6e92922c41b0fddc5c12695b2f26b963ca3e1 /patches | |
parent | 9ef1750f3cf7be50d0cb08d9e27e66b12107e836 (diff) | |
download | crosstool-ng-f9968501eeacbe6c289c93d87243473d78eb8d5c.tar.gz crosstool-ng-f9968501eeacbe6c289c93d87243473d78eb8d5c.tar.bz2 crosstool-ng-f9968501eeacbe6c289c93d87243473d78eb8d5c.zip |
glibc: Cygwin doesn't have stat64
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch b/patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch new file mode 100644 index 00000000..9097628c --- /dev/null +++ b/patches/glibc/2.22/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 + |