]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied [ 1205187 ] fix may not return warning on vc6 (bug 1204692)
authorJulian Smart <julian@anthemion.co.uk>
Sun, 22 May 2005 14:45:02 +0000 (14:45 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 22 May 2005 14:45:02 +0000 (14:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/main.cpp

index 05b74c9e0ae6e4d4f46a9d89cf3e731eed36c3c8..173e04607898b71c6fc672e53cb497a92c1e0282 100644 (file)
@@ -219,7 +219,7 @@ int wxEntry(int& argc, wxChar **argv)
     {
         wxFatalExit();
 
-#if !defined(__VISUALC__) || defined(__WXDEBUG__)
+#if !defined(_MSC_VER) || defined(__WXDEBUG__) || (defined(_MSC_VER) && _MSC_VER <= 1200)
         // this code is unreachable but put it here to suppress warnings in some compilers
         // and disable for others to supress warnings too
         return -1;