]> git.saurik.com Git - wxWidgets.git/commitdiff
define HAVE_EXPLICIT for BC++ >= 0x520
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Sep 2002 12:55:37 +0000 (12:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Sep 2002 12:55:37 +0000 (12:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index cf9dd6d06468abbf49602f7d5eefbc53e45a2074..f0ce9ccc2824bc249cbcbb79324619cda6240246 100644 (file)
@@ -231,11 +231,14 @@ typedef int wxWindowID;
 
 // check for explicit keyword support
 #ifndef HAVE_EXPLICIT
-    // VC++ 6.0 has explicit (what about the earlier versions?)
     #if defined(__VISUALC__) && (__VISUALC__ > 1200)
+        // VC++ 6.0 has explicit (what about the earlier versions?)
+        #define HAVE_EXPLICIT
+    #elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x0520)
+        // BC++ 4.52 doesn't support explicit, CBuilder 1 does
         #define HAVE_EXPLICIT
-    // Metrowerks CW6 or higher has explicit
     #elif defined(__MWERKS__) && (__MWERKS__ >= 0x2400)
+        // Metrowerks CW6 or higher has explicit
         #define HAVE_EXPLICIT
     #endif
 #endif // !HAVE_EXPLICIT