summaryrefslogtreecommitdiff
path: root/pcre_config.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-17 11:52:43 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-17 11:52:43 +0000
commit305ba99ed65522dbeef23c125eed3271cde7fbf8 (patch)
tree093a34a9566ef9ca0528b0fd9094c4b15538d284 /pcre_config.c
parentc79fd890ec446bf923ba9d4f16e54908db38df29 (diff)
downloadpcre-305ba99ed65522dbeef23c125eed3271cde7fbf8.tar.gz
JIT test prints cpu info
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@884 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_config.c')
-rw-r--r--pcre_config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcre_config.c b/pcre_config.c
index a22bf90..aa0ef86 100644
--- a/pcre_config.c
+++ b/pcre_config.c
@@ -117,6 +117,14 @@ switch (what)
#endif
break;
+ case PCRE_CONFIG_JITTARGET:
+#ifdef SUPPORT_JIT
+ *((const char **)where) = PRIV(jit_get_target)();
+#else
+ *((const char **)where) = NULL;
+#endif
+ break;
+
case PCRE_CONFIG_NEWLINE:
*((int *)where) = NEWLINE;
break;