diff options
Diffstat (limited to 'lib/libXt/src/Vendor.c')
-rw-r--r-- | lib/libXt/src/Vendor.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/lib/libXt/src/Vendor.c b/lib/libXt/src/Vendor.c index 26767b75d..da40e07a6 100644 --- a/lib/libXt/src/Vendor.c +++ b/lib/libXt/src/Vendor.c @@ -64,27 +64,10 @@ SOFTWARE. * ***************************************************************************/ -#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; -#if defined(__UNIXOS2__) -unsigned long _DLL_InitTerm(unsigned long mod,unsigned long flag) -{ - switch (flag) { - case 0: /*called on init*/ - _CRT_init(); - vendorShellWidgetClass = (WidgetClass)(&vendorShellClassRec); - return 1; - case 1: /*called on exit*/ - return 1; - default: - return 0; - } -} -#endif - -#if defined(__CYGWIN__) || defined(__MINGW32__) int __stdcall DllMain(unsigned long mod_handle, unsigned long flag, void *routine) { @@ -99,7 +82,6 @@ DllMain(unsigned long mod_handle, unsigned long flag, void *routine) return 1; } #endif -#endif externaldef(vendorshellclassrec) VendorShellClassRec vendorShellClassRec = { { |