Applied patch [ 1325207 ] Fixes unicode build using Solaris with Sun's SunPro compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -186,6 +186,13 @@
|
|||||||
/* char wchar_t is always unsigned) and (b) was how the previous */
|
/* char wchar_t is always unsigned) and (b) was how the previous */
|
||||||
/* definitions worked so keep it like this */
|
/* definitions worked so keep it like this */
|
||||||
|
|
||||||
|
/* Sun's SunPro compiler supports the wchar_t type and wide character */
|
||||||
|
/* functions, but does not define __WCHAR_TYPE__. Define it here to */
|
||||||
|
/* allow unicode enabled builds. */
|
||||||
|
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
|
||||||
|
#define __WCHAR_TYPE__ wxchar_t
|
||||||
|
#endif
|
||||||
|
|
||||||
/* GNU libc has __WCHAR_TYPE__ which requires special treatment, see */
|
/* GNU libc has __WCHAR_TYPE__ which requires special treatment, see */
|
||||||
/* comment below */
|
/* comment below */
|
||||||
#if !defined(__WCHAR_TYPE__) || \
|
#if !defined(__WCHAR_TYPE__) || \
|
||||||
|
Reference in New Issue
Block a user