diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-17 11:30:58 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-17 11:30:58 -0800 |
commit | 095c47c644edac28d1cb28f91191ae25c4357b90 (patch) | |
tree | bf97ec35d8d6b8d921ae6a0a030f00605250ecfd | |
parent | 8ea28cdae11b3818894b5c60b5d4e99b7c2f8dc5 (diff) |
unifdef __UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/Vendor.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/Vendor.c b/src/Vendor.c index 37a8a9f..08e7e41 100644 --- a/src/Vendor.c +++ b/src/Vendor.c @@ -112,7 +112,7 @@ void XawVendorShellExtResize(Widget); void XawVendorStructureNotifyHandler(Widget, XtPointer, XEvent*, Boolean*); -#if defined(__UNIXOS2__) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__) +#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__) /* to fix the EditRes problem because of wrong linker semantics */ extern WidgetClass vendorShellWidgetClass; /* from Xt/Vendor.c */ extern VendorShellClassRec _XawVendorShellClassRec; @@ -127,23 +127,6 @@ static void __VendorShellHack(void) } #endif -#if defined(__UNIXOS2__) -unsigned long _DLL_InitTerm(unsigned long mod,unsigned long flag) -{ - switch (flag) { - case 0: /*called on init*/ - _CRT_init(); - vendorShellWidgetClass = (WidgetClass)(&_XawVendorShellClassRec$ - _XawFixupVendorShell(); - return 1; - case 1: /*called on exit*/ - return 1; - default: - return 0; - } -} -#endif - #if defined(__CYGWIN__) || defined(__MINGW32__) int __stdcall DllMain(unsigned long, unsigned long, void *); @@ -487,7 +470,7 @@ XawVendorShellClassPartInit(WidgetClass class) } #endif -#if defined(__UNIXOS2__) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__) +#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__) /* shared libraries on these platforms have the wrong semantics */ /* symbols do not get resolved external to the shared library */ void |