aboutsummaryrefslogtreecommitdiff
path: root/libXaw/src/Vendor.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-10-01 12:33:20 +0200
committermarha <marha@users.sourceforge.net>2013-10-01 12:33:20 +0200
commitbe0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779 (patch)
tree807b5640d1fedc88ddcda752f101ffdb3071092a /libXaw/src/Vendor.c
parent11b60c4ebaf348b01051bfff19f947b073028a99 (diff)
parent6dd755aa923291db2501cc5c22e409c41a70e3c1 (diff)
downloadvcxsrv-be0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779.tar.gz
vcxsrv-be0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779.tar.bz2
vcxsrv-be0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779.zip
Merge remote-tracking branch 'origin/released'
* origin/released: Update following packages: Conflicts: X11/Xwinsock.h apps/xhost/xhost.c libXaw/src/Vendor.c libXfont/include/X11/fonts/bdfint.h libXfont/src/fontfile/catalogue.c
Diffstat (limited to 'libXaw/src/Vendor.c')
-rwxr-xr-x[-rw-r--r--]libXaw/src/Vendor.c20
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