X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ecf902bc836f2808444b34eff48cdb12f289460..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/db.h?ds=sidebyside diff --git a/include/wx/db.h b/include/wx/db.h index 63ab1a66c7..9bd5f2ca00 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -77,7 +77,11 @@ #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