Module: kamailio
Branch: master
Commit: 801a9e38bcd863950a53ed0ca63a2976376daddc
URL:
https://github.com/kamailio/kamailio/commit/801a9e38bcd863950a53ed0ca63a297…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-09-17T13:18:08+02:00
core: print a version flag when pthread shared mutex is enabled for tls
---
Modified: src/core/ver_defs.h
---
Diff:
https://github.com/kamailio/kamailio/commit/801a9e38bcd863950a53ed0ca63a297…
Patch:
https://github.com/kamailio/kamailio/commit/801a9e38bcd863950a53ed0ca63a297…
---
diff --git a/src/core/ver_defs.h b/src/core/ver_defs.h
index bc2cb8d082..333260ed10 100644
--- a/src/core/ver_defs.h
+++ b/src/core/ver_defs.h
@@ -318,6 +318,12 @@
#define USE_DST_BLACKLIST_STATS_STR ""
#endif
+#ifdef KSR_PTHREAD_MUTEX_SHARED
+#define KSR_PTHREAD_MUTEX_SHARED_STR ", TLS_PTHREAD_MUTEX_SHARED"
+#else
+#define KSR_PTHREAD_MUTEX_SHARED_STR ""
+#endif
+
#define SER_COMPILE_FLAGS \
EXTRA_DEBUG_STR USE_TCP_STR USE_TLS_STR \
USE_SCTP_STR CORE_TLS_STR TLS_HOOKS_STR USE_RAW_SOCKS_STR \
@@ -332,7 +338,8 @@
USE_SYSV_SEM_STR USE_COMP_STR USE_DNS_CACHE_STR USE_DNS_FAILOVER_STR \
DNS_WATCHDOG_SUPPORT_STR USE_NAPTR_STR USE_DST_BLACKLIST_STR \
HAVE_RESOLV_RES_STR SYSLOG_CALLBACK_SUPPORT_STR MYSQL_FAKE_NULL_STR \
- USE_DST_BLACKLIST_STATS_STR USE_DNS_CACHE_STATS_STR
+ USE_DST_BLACKLIST_STATS_STR USE_DNS_CACHE_STATS_STR \
+ KSR_PTHREAD_MUTEX_SHARED_STR
#endif