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.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/pjlib/include/pj/compat/os_win32.h b/pjlib/include/pj/compat/os_win32.h
index a078a7e7..8e4c7ab9 100644
--- a/pjlib/include/pj/compat/os_win32.h
+++ b/pjlib/include/pj/compat/os_win32.h
@@ -75,14 +75,16 @@
/* Default threading is enabled, unless it's overridden. */
#ifndef PJ_HAS_THREADS
-# define PJ_HAS_THREADS (1)
+# define PJ_HAS_THREADS (1)
#endif
-#define PJ_HAS_HIGH_RES_TIMER 1
-#define PJ_HAS_MALLOC 1
-#define PJ_OS_HAS_CHECK_STACK 1
-#define PJ_NATIVE_STRING_IS_UNICODE 0
+#define PJ_HAS_HIGH_RES_TIMER 1
+#define PJ_HAS_MALLOC 1
+#ifndef PJ_OS_HAS_CHECK_STACK
+# define PJ_OS_HAS_CHECK_STACK 1
+#endif
+#define PJ_NATIVE_STRING_IS_UNICODE 0
-#define PJ_ATOMIC_VALUE_TYPE long
+#define PJ_ATOMIC_VALUE_TYPE long
#endif /* __PJ_COMPAT_OS_WIN32_H__ */