In my application I always need wchar_t to be 2 byte. I know -fshort-wchar can do this. But I can't use this on zSeries. is there any other way to define wchar_t to 2 byte?
Asked
Active
Viewed 278 times
-2
-
possible duplicate of [_T( ) macro changes for UNICODE character data](http://stackoverflow.com/questions/4133144/t-macro-changes-for-unicode-character-data) – pmg Nov 09 '10 at 15:17
1 Answers
1
No. wchar_t
is implementation defined. You have no control over it.
Don't rely on implementation defined types. Rely on Standard (C99 <inttypes.h>
) types instead.
What's wrong with the question _T( ) macro changes for UNICODE character data?