diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-11-10 04:30:46 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-11-10 04:30:46 +0000 |
commit | 36e57709b519648f8a29ad13b9709b6c96b5d6ca (patch) | |
tree | 2449fbf4570ec3c0c223509054dc339a1c3d9b73 /pjlib/include/pj/compat | |
parent | c019e89de8322549b99856e0c7c243780d44d6e9 (diff) |
Fixed ticket #989: Issues with Windows Unicode build (thanks Michele Cicciotti for the patch)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3002 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/os_win32.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/os_win32.h b/pjlib/include/pj/compat/os_win32.h index c0abf445..8cb00c27 100644 --- a/pjlib/include/pj/compat/os_win32.h +++ b/pjlib/include/pj/compat/os_win32.h @@ -111,7 +111,12 @@ #ifndef PJ_OS_HAS_CHECK_STACK # define PJ_OS_HAS_CHECK_STACK 1 #endif -#define PJ_NATIVE_STRING_IS_UNICODE 0 + +#ifdef UNICODE +# define PJ_NATIVE_STRING_IS_UNICODE 1 +#else +# define PJ_NATIVE_STRING_IS_UNICODE 0 +#endif #define PJ_ATOMIC_VALUE_TYPE long |