diff options
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r-- | pjlib/include/pj/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index cd95dbcd..1d74d8c7 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -53,6 +53,8 @@ # include <pj/compat/os_sunos.h> #elif defined(PJ_DARWINOS) && PJ_DARWINOS!=0 # include <pj/compat/os_darwinos.h> +#elif defined(PJ_RTEMS) && PJ_RTEMS!=0 +# include <pj/compat/os_rtems.h> #else # error "Please specify target os." #endif @@ -223,6 +225,17 @@ /** + * Specify this as \a stack_size argument in #pj_thread_create() to specify + * that thread should use default stack size for the current platform. + * + * Default: 8192 + */ +#ifndef PJ_THREAD_DEFAULT_STACK_SIZE +# define PJ_THREAD_DEFAULT_STACK_SIZE 8192 +#endif + + +/** * Do we have alternate pool implementation? * * Default: 0 @@ -556,7 +569,17 @@ # error "PJ_IS_BIG_ENDIAN is not defined!" #endif +#if !defined(PJ_EMULATE_RWMUTEX) +# error "PJ_EMULATE_RWMUTEX should be defined in compat/os_xx.h" +#endif +#if !defined(PJ_THREAD_SET_STACK_SIZE) +# error "PJ_THREAD_SET_STACK_SIZE should be defined in compat/os_xx.h" +#endif + +#if !defined(PJ_THREAD_ALLOCATE_STACK) +# error "PJ_THREAD_ALLOCATE_STACK should be defined in compat/os_xx.h" +#endif PJ_BEGIN_DECL |