--- a/XWorkstation.st Thu Feb 11 19:16:28 1999 +0100
+++ b/XWorkstation.st Fri Feb 12 15:58:50 1999 +0100
@@ -61,14 +61,6 @@
# undef memset
#endif
-#if defined(__openVMS__) || defined(LINUX)
- /*
- * mhmh - used in stdio ...
- * (new linuxes)
- */
-# undef __new
-# define __NEED_REDEF_new__
-#endif
#include <stdio.h>
#include <X11/Xlib.h>
@@ -84,9 +76,6 @@
# include <sys/socket.h>
#endif
-#ifdef __NEED_REDEF_new__
-# define __new __STX___new
-#endif
/*
* this define suppresses XAllocColor/XFreeColor on
@@ -8462,7 +8451,7 @@
cp[nread] = '\0';
val = __MKSTRING_L(cp, nread);
} else {
- val = __new(nread + OHDR_SIZE);
+ val = __STX___new(nread + OHDR_SIZE);
val->o_class = cls;
bcopy(cp, __ByteArrayInstPtr(val)->ba_element, nread);
}
@@ -10078,6 +10067,6 @@
!XWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.300 1999-01-22 17:46:32 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.301 1999-02-12 14:58:50 cg Exp $'
! !
XWorkstation initialize!