From 02b6f53109f46b32a1f0d482ad3190874d277423 Mon Sep 17 00:00:00 2001 From: David Webster Date: Thu, 13 Jan 2000 20:31:20 +0000 Subject: [PATCH] LINKAGEMODE under OS/2 is only applicable for VisualAge, not EMX or Watcom git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 3a6376fd34..d1717e5a40 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -62,7 +62,10 @@ #endif // Place other OS/2 compiler environment defines here - #define LINKAGEMODE _Optlink + #if defined(__VISAGECPP__) + // VisualAge is the only thing that understands _Optlink + #define LINKAGEMODE _Optlink + #endif #else // Windows #ifndef __WINDOWS__ #define __WINDOWS__ -- 2.47.2