summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/config.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-18 12:28:03 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-18 12:28:03 +0000
commit5d98d9ed57823080f63434018847cd438b1894c5 (patch)
tree9b965f6b89019ed182d0d764a62fa4e1d3b01cf4 /pjlib/include/pj/config.h
parent1ef58d201f4613f91a9cbafa4545f37f3fab3cf6 (diff)
Fixed or added misc flags to enable build selection via compile time macro
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@331 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r--pjlib/include/pj/config.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h
index d09795a4..607bf261 100644
--- a/pjlib/include/pj/config.h
+++ b/pjlib/include/pj/config.h
@@ -102,6 +102,7 @@
# undef PJ_HAS_EVENT_OBJ
# undef PJ_ENABLE_EXTRA_CHECK
# undef PJ_EXCEPTION_USE_WIN32_SEH
+# undef PJ_HAS_ERROR_STRING
#endif
/**
@@ -245,10 +246,14 @@
* maximum number of socket handles passed to select() (i.e. FD_SETSIZE will
* be set to this value).
*
- * Default: 256
+ * Default: 256 (64 for WinCE)
*/
#ifndef PJ_IOQUEUE_MAX_HANDLES
-# define PJ_IOQUEUE_MAX_HANDLES (256)
+# if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0
+# define PJ_IOQUEUE_MAX_HANDLES (64)
+# else
+# define PJ_IOQUEUE_MAX_HANDLES (256)
+# endif
#endif
/**
@@ -344,6 +349,16 @@
# define PJ_TIMESTAMP_USE_RDTSC 0
#endif
+/**
+ * Include error message string in the library (pj_strerror()).
+ * This is very much desirable!
+ *
+ * Default: 1
+ */
+#ifndef PJ_HAS_ERROR_STRING
+# define PJ_HAS_ERROR_STRING 1
+#endif
+
/** @} */