ZipArchive.st
changeset 720 967fad20a8f1
parent 719 92b0f4641294
child 723 04567da3394f
--- a/ZipArchive.st	Sun Jan 10 18:28:09 1999 +0100
+++ b/ZipArchive.st	Fri Jan 15 22:21:21 1999 +0100
@@ -36,8 +36,21 @@
 !ZipArchive primitiveDefinitions!
 %{
 
+#if defined(__openVMS__) || defined(LINUX)
+  /*
+   * mhmh - used in stdio ...
+   * (new linuxes)
+   */
+# undef __new
+# define __NEED_REDEF_new__                 
+#endif                                                        
+
 #include <stdio.h>
 
+#ifdef __NEED_REDEF_new__
+# define __new  __STX___new
+#endif
+
 #define uchar     unsigned char
 #define ushort    unsigned short
 #define ulong     unsigned long
@@ -1655,6 +1668,6 @@
 !ZipArchive class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/ZipArchive.st,v 1.22 1999-01-10 17:28:09 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/ZipArchive.st,v 1.23 1999-01-15 21:21:21 cg Exp $'
 ! !
 ZipArchive initialize!