diff options
Diffstat (limited to 'sdk/recipes/patches/zlib/zconf.h.in.p')
-rw-r--r-- | sdk/recipes/patches/zlib/zconf.h.in.p | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/recipes/patches/zlib/zconf.h.in.p b/sdk/recipes/patches/zlib/zconf.h.in.p new file mode 100644 index 0000000..772dad3 --- /dev/null +++ b/sdk/recipes/patches/zlib/zconf.h.in.p @@ -0,0 +1,11 @@ +--- zconf.h.in.old 2011-01-02 21:25:38.000000000 +0000 ++++ zconf.h.in 2011-01-02 21:26:07.000000000 +0000 +@@ -370,7 +370,7 @@ + * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as + * equivalently requesting no 64-bit operations + */ +-#if -_LARGEFILE64_SOURCE - -1 == 1 ++#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1 + # undef _LARGEFILE64_SOURCE + #endif + |