compilation fix for gcc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-08-02 16:27:21 +00:00
parent c31c4e162e
commit 190869b2f5

View File

@@ -52,7 +52,7 @@
#include "wx/defs.h"
#include "wx/string.h"
#ifdef __VISUALC__
#if defined(__VISUALC__)
// we need to include standard Windows headers but we can't include
// <windows.h> directly when using MFC because it includes it itself in a
// different manner
@@ -77,6 +77,10 @@
#include "sqlext.h"
#include "odbcinst.h"
#else
#if defined(__WINDOWS__) && defined(HAVE_W32API_H)
#include <windows.h>
#include "wx/msw/winundef.h"
#endif
// Use the ones from the library
extern "C" {
#include <sql.h>