]> git.saurik.com Git - wxWidgets.git/commitdiff
LINKAGEMODE moved to defs.h - string.cpp actually compiles now...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 Aug 1999 11:31:47 +0000 (11:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 Aug 1999 11:31:47 +0000 (11:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h
include/wx/list.h

index 15e35984342cf8085dea18a1ba18f4385818fc0b..e7c77c366c4e9f0a6f9285fed6a5b94561a3d211 100644 (file)
@@ -63,7 +63,9 @@
     #ifndef __WXPM__
         #define __WXPM__
     #endif
+
     // Place other OS/2 compiler environment defines here
+    #define LINKAGEMODE _Optlink
 #else   // Windows
     #ifndef __WINDOWS__
         #define __WINDOWS__
     #endif  // compiler
 #endif  // OS
 
+// LINKAGEMODE mode is empty for everyting except OS/2
+#ifndef LINKAGEMODE
+    #define LINKAGEMODE
+#endif // LINKAGEMODE
+
 // suppress some Visual C++ warnings
 #ifdef __VISUALC__
 #   pragma warning(disable:4244)    // conversion from double to float
index 186ad733cf6f4409e4f85fb10e3f8ef50873099f..496093094638fa4fdcf176f2b9395913075acdb7 100644 (file)
 #pragma interface "list.h"
 #endif
 
-#ifdef __WXPM__
-#define LINKAGEMODE _Optlink
-#else
-#define LINKAGEMODE
-#endif
-
 // -----------------------------------------------------------------------------
 // headers
 // -----------------------------------------------------------------------------