]> git.saurik.com Git - wxWidgets.git/commitdiff
LINKAGEMODE under OS/2 is only applicable for VisualAge, not EMX or Watcom
authorDavid Webster <Dave.Webster@bhmi.com>
Thu, 13 Jan 2000 20:31:20 +0000 (20:31 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Thu, 13 Jan 2000 20:31:20 +0000 (20:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 3a6376fd3465a00ccf312195d6881de53d9484b7..d1717e5a402db2c8ffd9c9789cefba1eb4dc6b50 100644 (file)
     #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__