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

version» Context lines:

pike.git/src/modules/Gz/zlibmod.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: zlibmod.c,v 1.14 1997/10/21 17:45:40 grubba Exp $"); + RCSID("$Id: zlibmod.c,v 1.15 1997/10/26 17:22:43 grubba Exp $");      #include "zlib_machine.h"      #if !defined(HAVE_LIBZ) && !defined(HAVE_LIBGZ)   #undef HAVE_ZLIB_H   #endif      #ifdef HAVE_ZLIB_H      #include "interpret.h"
pike.git/src/modules/Gz/zlibmod.c:375: Inside #if defined(HAVE_ZLIB_H)
   end_class("inflate",0);       add_integer_constant("NO_FLUSH",Z_NO_FLUSH,0);    add_integer_constant("PARTIAL_FLUSH",Z_PARTIAL_FLUSH,0);    add_integer_constant("SYNC_FLUSH",Z_SYNC_FLUSH,0);    add_integer_constant("FINISH",Z_FINISH,0);      #endif   }    - #ifdef HAVE___VTBL__9TYPE_INFO + #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); + #endif /* HAVE___T_9__NOTHROW */ + /* Don't even think of calling this one +  * Not static, so the compiler can't optimize it away totally. +  */   void zlibmod_strap_kluge(void)   { -  + #ifdef HAVE___VTBL__9TYPE_INFO    __vtbl__9type_info(); - } +    #endif /* HAVE___VTBL__9TYPE_INFO */ -  + #ifdef HAVE___T_9__NOTHROW +  __T_9__nothrow(); + #endif /* HAVE___T_9__NOTHROW */ + } + #endif /* HAVE___VTBL__9TYPE_INFO || HAVE___T_9__NOTHROW */