diff options
Diffstat (limited to 'libXaw/src/Vendor.c')
-rwxr-xr-x[-rw-r--r--] | libXaw/src/Vendor.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/libXaw/src/Vendor.c b/libXaw/src/Vendor.c index dd6a117c6..0ce5b6def 100644..100755 --- a/libXaw/src/Vendor.c +++ b/libXaw/src/Vendor.c @@ -111,29 +111,12 @@ static XtResource resources[] = { * ***************************************************************************/ -#if defined(__UNIXOS2__) || defined(__CYGWIN__) || defined(__MINGW32__) +#if defined(__CYGWIN__) || defined(__MINGW32__) /* to fix the EditRes problem because of wrong linker semantics */ extern WidgetClass vendorShellWidgetClass; /* from Xt/Vendor.c */ extern VendorShellClassRec _XawVendorShellClassRec; extern void _XawFixupVendorShell(); -#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__) && !defined(_MSC_VER) int __stdcall DllMain(unsigned long mod_handle, unsigned long flag, void *routine) @@ -149,7 +132,6 @@ DllMain(unsigned long mod_handle, unsigned long flag, void *routine) } return 1; } -#endif #define vendorShellClassRec _XawVendorShellClassRec |