summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/os_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/os_win32.h')
-rw-r--r--pjlib/include/pj/compat/os_win32.h7
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