Applied patch [ 827399 ] sqltypes.h included without windows.h under Borland
authorJulian Smart <julian@anthemion.co.uk>
Sun, 11 Jan 2004 20:52:43 +0000 (20:52 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 11 Jan 2004 20:52:43 +0000 (20:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/db.h

index 1c007c953c4a8bba80fea02f505f047758edbd7d..58843cf23e399cf73e1de1760327427dfb5926d4 100644 (file)
@@ -77,7 +77,7 @@
     #include "sqlext.h"
     #include "odbcinst.h"
 #else
-    #if defined(__WINDOWS__) && defined(HAVE_W32API_H)
+    #if defined(__WINDOWS__) && ( defined(HAVE_W32API_H) || defined(__BORLANDC__) )
         #include <windows.h>
         #include "wx/msw/winundef.h"
     #endif