pike.git / src / modules / Gz / zlibmod.c

version» Context lines:

pike.git/src/modules/Gz/zlibmod.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: zlibmod.c,v 1.68 2005/10/19 14:21:12 nilsson Exp $ + || $Id: zlibmod.c,v 1.69 2005/11/14 21:15:25 nilsson Exp $   */      #include "global.h"   #include "zlib_machine.h"   #include "module.h"      #if !defined(HAVE_LIBZ) && !defined(HAVE_LIBGZ)   #undef HAVE_ZLIB_H   #endif   
pike.git/src/modules/Gz/zlibmod.c:672: Inside #if defined(HAVE_ZLIB_H)
   add_integer_constant("FINISH",Z_FINISH,0);    add_integer_constant("DEFAULT_STRATEGY", Z_DEFAULT_STRATEGY,0);    add_integer_constant("FILTERED", Z_FILTERED,0);    add_integer_constant("HUFFMAN_ONLY", Z_HUFFMAN_ONLY,0);       /* function(string,void|int:int) */    ADD_FUNCTION("crc32",gz_crc32,tFunc(tStr tOr(tVoid,tInt),tInt),    OPT_TRY_OPTIMIZE);       PIKE_MODULE_EXPORT(Gz, crc32); + #else +  if(!TEST_COMPAT(7,6)) +  HIDE_MODULE();   #endif   }      #if defined(HAVE___VTBL__9TYPE_INFO) || defined(HAVE___T_9__NOTHROW)   /* Super-special kluge for IRIX 6.3 */   #ifdef HAVE___VTBL__9TYPE_INFO   extern void __vtbl__9type_info(void);   #endif /* HAVE___VTBL__9TYPE_INFO */   #ifdef HAVE___T_9__NOTHROW   extern void __T_9__nothrow(void);