X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d194ddf23ba20f9513f59612023dfdf146626107..c0ab6adfedf92aa4457821422e77c19b80f10bee:/include/wx/db.h 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 {