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