diff options
author | Moazin Khatti <moazinkhatri@gmail.com> | 2019-08-05 11:51:58 +0500 |
---|---|---|
committer | Moazin Khatti <moazinkhatri@gmail.com> | 2019-08-05 11:51:58 +0500 |
commit | 3081146633ec14feeb4cc85faa9f4eed6fc6b0a5 (patch) | |
tree | 97d3f3b85c871c17b631f6ea8cc5b1212064b44f /src/gzip/ftgzip.c | |
parent | 545869da731536b0cf677a5eadeeca58fb01bd62 (diff) | |
download | freetype2-3081146633ec14feeb4cc85faa9f4eed6fc6b0a5.tar.gz |
Improve the internal zlib.internal-zlib-update
* Change stdlib calls to FT internal ones.
* Change config file from `zconf.h' to `ftzconf.h'
Diffstat (limited to 'src/gzip/ftgzip.c')
-rw-r--r-- | src/gzip/ftgzip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gzip/ftgzip.c b/src/gzip/ftgzip.c index 9fabb6934..8de1d4b38 100644 --- a/src/gzip/ftgzip.c +++ b/src/gzip/ftgzip.c @@ -55,7 +55,7 @@ /* original ZLib. */ #ifndef USE_ZLIB_ZCALLOC -/* #define MY_ZCALLOC */ /* prevent all zcalloc() & zfree() in zutil.c */ + #define MY_ZCALLOC /* prevent all zcalloc() & zfree() in zutil.c */ #endif /* Note that our `zlib.h' includes `ftzconf.h' instead of `zconf.h'; */ @@ -165,7 +165,6 @@ #if !defined( FT_CONFIG_OPTION_SYSTEM_ZLIB ) && !defined( USE_ZLIB_ZCALLOC ) -/* local voidpf zcalloc ( voidpf opaque, unsigned items, @@ -181,7 +180,6 @@ ft_gzip_free( (FT_Memory)opaque, ptr ); } -*/ #endif /* !SYSTEM_ZLIB && !USE_ZLIB_ZCALLOC */ |