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
-#if wxMAJOR_VERSION == 2
- #include "utils.h"
-#else
- #ifdef __UNIX__
- # ifndef strnicmp
- # define strnicmp strncasecmp
- # endif
- # ifndef stricmp
- # define stricmp strcasecmp
- # endif
- #else
- # include <io.h>
- #endif
+#ifdef __UNIX__
+# ifndef strnicmp
+# define strnicmp strncasecmp
+# endif
+# ifndef stricmp
+# define stricmp strcasecmp
+# endif
+#elif defined(__WXMAC__)
+#else
+# include <io.h>
#endif
enum enumDummy {enumDum1};
};
-#if __WXDEBUG__ > 0
+#ifdef __WXDEBUG__
#include "wx/object.h"
class CstructTablesInUse : public wxObject
{