]> git.saurik.com Git - wxWidgets.git/commitdiff
MSVC5 does not like extern "C" around windows.h .
authorMattia Barbon <mbarbon@cpan.org>
Tue, 29 Jan 2002 21:30:03 +0000 (21:30 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Tue, 29 Jan 2002 21:30:03 +0000 (21:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/db.h

index 1de7c38f108dd566827dff58cb2f350b994ab6ae..892e3d609151e644c609f82850472a9c25c76ef3 100644 (file)
@@ -57,7 +57,6 @@
 #include "wx/defs.h"
 #include "wx/string.h"
 
-extern "C" {
 #ifdef __VISUALC__
 // include standard Windows headers
 #if defined(__WXMSW__) && !wxUSE_MFC
@@ -79,10 +78,12 @@ extern "C" {
     #include "sqlext.h"
     #include "odbcinst.h"
 #else
+extern "C" {
     #include "wx/isql.h"
     #include "wx/isqlext.h"
-#endif
 }
+#endif
+
 
 typedef float SFLOAT;
 typedef double SDOUBLE;