]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
Removal of previous wxValidtor code for wxOS2
[wxWidgets.git] / include / wx / db.h
index 2d39f12b9cbfbac1a09efd178dc261a80a6b9835..4faa42317d49efd1ea01869cf37d7839ffb69e69 100644 (file)
        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 <sql.h>
        #include <sqlext.h>
 #endif
 
-#ifdef __UNIX__
+#ifdef __UNIX__ 
 #   ifndef strnicmp 
 #      define strnicmp strncasecmp 
 #   endif 
 #   ifndef stricmp 
 #      define stricmp strcasecmp 
 #   endif 
+#elif defined(__WXMAC__)
 #else 
 #   include <io.h> 
 #endif