diff options
author | Tony Cook <tony@develop-help.com> | 2012-03-14 00:50:47 +1100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-03-13 14:07:45 +0000 |
commit | ae3dfcf95f828f01f9916b2a6f3054e2e3776adb (patch) | |
tree | baf1b5ff560cec4e8422ab44e8f4fe46b2aa3def | |
parent | ed38618e99872048d71da09ee3dcb64dfc6f62ba (diff) | |
download | perl-smoke-me/compression-modules.tar.gz |
partially revert changes to zutil.hsmoke-me/compression-modules
These were preventing the declaration and use of the STDC memcpy()
with Z_SOLO.
Z_SOLO preventing use of memcpy() is like preventing use of structure
assignment.
-rw-r--r-- | cpan/Compress-Raw-Zlib/zlib-src/zutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/zutil.h b/cpan/Compress-Raw-Zlib/zlib-src/zutil.h index dff1112feb..426d98e3d0 100644 --- a/cpan/Compress-Raw-Zlib/zlib-src/zutil.h +++ b/cpan/Compress-Raw-Zlib/zlib-src/zutil.h @@ -21,7 +21,7 @@ #include "zlib.h" -#if defined(STDC) && !defined(Z_SOLO) +#if defined(STDC) # if !(defined(_WIN32_WCE) && defined(_MSC_VER)) # include <stddef.h> # endif @@ -185,7 +185,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ /* functions */ -#if defined(pyr) || defined(Z_SOLO) +#if defined(pyr) # define NO_MEMCPY #endif #if defined(SMALL_MEDIUM) && !defined(_MSC_VER) && !defined(__SC__) |