#include "wx/defs.h"
#include "wx/string.h"
-extern "C" {
#ifdef __VISUALC__
// include standard Windows headers
#if defined(__WXMSW__) && !wxUSE_MFC
#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;
// Writes a message to the wxLog window (stdout usually) when an internal error
// situation occurs. This function only works in DEBUG builds
-const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb,
- wxChar *ErrFile, int ErrLine);
+const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText,
+ wxDb *pDb,
+ const wxChar *ErrFile,
+ int ErrLine);
// This function sets the sql log state for all open wxDb objects