]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
Sorry, should be a __UNIX__ test
[wxWidgets.git] / include / wx / db.h
index 63ab1a66c71e62905b5e735c13f383ff52f32ba6..9bd5f2ca007386a72bd5bc238c736d2287d28209 100644 (file)
         #include "wx/isqlext.h"
         // Not available in v2.x of iODBC
         #ifndef __WXMSW__
-            typedef wxChar SQLTCHAR;
+          #if wxUSE_UNICODE
+          typedef wxChar SQLTCHAR;
+          #else
+          typedef UCHAR SQLTCHAR;
+          #endif
         #endif
     #else
         #include <sql.h>