diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-08 11:14:03 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-08 11:14:03 +0000 |
commit | ba1878c8122da61f2bda2a4cc0dc9ca7c88556f3 (patch) | |
tree | 6822476b021e6a2fd98dede4c51b01100404d133 /pjlib/include/pj/compat/os_sunos.h | |
parent | c00a805879c4ec9724bc798caf8b402e397b13c4 (diff) |
Fixed build errors when PJ_OS_HAS_CHECK_STACK or PJ_HAS_TCP is disabled
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@153 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/os_sunos.h')
-rw-r--r-- | pjlib/include/pj/compat/os_sunos.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pjlib/include/pj/compat/os_sunos.h b/pjlib/include/pj/compat/os_sunos.h index 269631ff..bbe7a759 100644 --- a/pjlib/include/pj/compat/os_sunos.h +++ b/pjlib/include/pj/compat/os_sunos.h @@ -71,15 +71,17 @@ /* 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 0 -#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 0 +#endif +#define PJ_NATIVE_STRING_IS_UNICODE 0 -#define PJ_ATOMIC_VALUE_TYPE long +#define PJ_ATOMIC_VALUE_TYPE long /* Get BSD related identifers in Sun's include files */ #define BSD_COMP |