Added typedefs SQLWCHAR and SQLTCHAR.

This commit is contained in:
Phil Krylov 2005-09-08 12:39:47 +00:00 committed by Alexandre Julliard
parent 43bd5512c3
commit 4e414963ed
1 changed files with 10 additions and 0 deletions

View File

@ -28,6 +28,16 @@ extern "C" {
#endif #endif
typedef unsigned char SQLCHAR; typedef unsigned char SQLCHAR;
#ifdef WINE_UNICODE_NATIVE
typedef wchar_t SQLWCHAR;
#else
typedef unsigned short SQLWCHAR;
#endif
#ifndef UNICODE
typedef SQLCHAR SQLTCHAR;
#else
typedef SQLWCHAR SQLTCHAR;
#endif
#if (ODBCVER >= 0x0300) #if (ODBCVER >= 0x0300)
typedef unsigned char SQLDATE; typedef unsigned char SQLDATE;