]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
assume sizeof(wchar_t) == 2 by default, not 4
[wxWidgets.git] / include / wx / db.h
index 225563e3f6cafd50b6c93060c2e64a8dd6198b57..8bff95b46e676aeb55a9d9733e8a0699fcd577e9 100644 (file)
@@ -99,6 +99,11 @@ typedef double SDOUBLE;
 typedef unsigned int UINT;
 #define ULONG UDWORD
 
+// Not available in iODBC
+#ifndef __WXMSW__
+typedef UCHAR SQLTCHAR;
+#endif
+
 #ifndef wxODBC_FWD_ONLY_CURSORS
 #define wxODBC_FWD_ONLY_CURSORS 1
 #endif