]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile with builtin ODBC in GTK+ ANSI mode
authorJulian Smart <julian@anthemion.co.uk>
Tue, 29 Mar 2005 14:32:07 +0000 (14:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 29 Mar 2005 14:32:07 +0000 (14:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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>