This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/40376] GCC defines UNICODE instead of _UNICODE for -municode
- From: "ktietz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2009 08:31:31 -0000
- Subject: [Bug preprocessor/40376] GCC defines UNICODE instead of _UNICODE for -municode
- References: <bug-40376-14772@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from ktietz at gcc dot gnu dot org 2009-06-08 08:31 -------
Ok, it is no fiction, but a issue for tchar.h in CRT headers. See
http://blogs.msdn.com/oldnewthing/archive/2004/02/12/71851.aspx
so, we define UNICODE for PSDK, but _UNICODE is user defined AFAIU. But
possibly we could add the _UNICODE define for CRT's sake, too.
Kai
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40376