X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a497618a568bfdd1059e3f51b560a98fd25b1003..9779893b90e4ffbb036329c2411f15aff0a93295:/include/wx/db.h?ds=sidebyside diff --git a/include/wx/db.h b/include/wx/db.h index c624086c26..4faa42317d 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -69,19 +69,29 @@ typedef double SDOUBLE; typedef unsigned int UINT; #define ULONG UDWORD +#elif defined(__WXMAC__) + extern "C" { + #include "../../src/iodbc/isql.h" + #include "../../src/iodbc/isqlext.h" + } + typedef float SFLOAT; + typedef double SDOUBLE; + typedef unsigned int UINT; + #define ULONG UDWORD #else // msw #define ODBCVER 0x0250 #include #include #endif -#ifdef __UNIX__ +#ifdef __UNIX__ # ifndef strnicmp # define strnicmp strncasecmp # endif # ifndef stricmp # define stricmp strcasecmp # endif +#elif defined(__WXMAC__) #else # include #endif @@ -428,7 +438,7 @@ struct DbList }; -#if __WXDEBUG__ > 0 +#ifdef __WXDEBUG__ #include "wx/object.h" class CstructTablesInUse : public wxObject {