Add comment that qmake doesn't add _UNICODE define for project files.

This commit is contained in:
Kimmo Varis 2010-10-17 00:32:31 +03:00
parent 0bb6e22d53
commit 7a84e7dcca
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@
// ANSI to Unicode. Likewise we must convert data we get from WinAPI from
// Unicode to ANSI.
// Note that qmake creates VS project files that define UNICODE but don't
// define _UNICODE! Which means e.g. TCHAR macros don't work properly.
#if defined(UNICODE)
static bool TransformUcs2ToAnsi(LPCWSTR psUcs, LPSTR psAnsi, int nAnsi)