From 081625c6102b8e0e3b9e7a69253650fc1ff5ea4e Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 30 Dec 2005 12:58:33 -0500 Subject: COMP: Use mangle names --- Source/cmSystemTools.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 91af585..f7ea1ef 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1398,7 +1398,7 @@ static int gzopen_frontend(char *pathname, int oflags, int mode) } #endif - gzf = gzdopen(fd, gzoflags); + gzf = cm_zlib_gzdopen(fd, gzoflags); if (!gzf) { errno = ENOMEM; @@ -1417,8 +1417,8 @@ bool cmSystemTools::CreateTar(const char* outFileName, const std::vector& f #if defined(CMAKE_BUILD_WITH_CMAKE) TAR *t; - tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) gzclose, - (readfunc_t) gzread, (writefunc_t) gzwrite + tartype_t gztype = { (openfunc_t) gzopen_frontend, (closefunc_t) cm_zlib_gzclose, + (readfunc_t) cm_zlib_gzread, (writefunc_t) cm_zlib_gzwrite }; // Ok, this libtar is not const safe. for now use auto_ptr hack -- cgit v0.12