don't redefine __WCHAR_TYPE__ when using Sun CC if it's already defined (as is the case at least under Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,7 +154,7 @@
|
|||||||
/* Sun's SunPro compiler supports the wchar_t type and wide character */
|
/* Sun's SunPro compiler supports the wchar_t type and wide character */
|
||||||
/* functions, but does not define __WCHAR_TYPE__. Define it here to */
|
/* functions, but does not define __WCHAR_TYPE__. Define it here to */
|
||||||
/* allow unicode enabled builds. */
|
/* allow unicode enabled builds. */
|
||||||
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
|
#if (defined(__SUNPRO_CC) || defined(__SUNPRO_C)) && !defined(__WCHAR_TYPE__)
|
||||||
#define __WCHAR_TYPE__ wxchar_t
|
#define __WCHAR_TYPE__ wxchar_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user