--- a/XWorkstat.st Sun Jan 10 18:03:56 1999 +0100
+++ b/XWorkstat.st Fri Jan 15 22:33:42 1999 +0100
@@ -61,9 +61,14 @@
# undef memset
#endif
-#ifdef __openVMS__
+#if defined(__openVMS__) || defined(LINUX)
+ /*
+ * mhmh - used in stdio ...
+ * (new linuxes)
+ */
# undef __new
-#endif
+# define __NEED_REDEF_new__
+#endif
#include <stdio.h>
#include <X11/Xlib.h>
@@ -79,6 +84,10 @@
# include <sys/socket.h>
#endif
+#ifdef __NEED_REDEF_new__
+# define __new __STX___new
+#endif
+
/*
* this define suppresses XAllocColor/XFreeColor on
* TrueColor systems - I am not certain, if this is
@@ -10047,6 +10056,6 @@
!XWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.297 1998-10-02 10:52:04 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.298 1999-01-15 21:33:42 cg Exp $'
! !
XWorkstation initialize!