summaryrefslogtreecommitdiff
path: root/pcre_config.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-08-22 14:57:32 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-08-22 14:57:32 +0000
commitff911da489a2d0eb1aa777cc2f8740c65b080f32 (patch)
tree69c0e76810e5db789573348eb099f2ce55d5a42c /pcre_config.c
parentb205b9285d0feca53c32d7258fc02ecb926ca16b (diff)
downloadpcre-ff911da489a2d0eb1aa777cc2f8740c65b080f32.tar.gz
Commit all the changes for JIT support, but without any documentation yet.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@667 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_config.c')
-rw-r--r--pcre_config.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/pcre_config.c b/pcre_config.c
index 78e8560..bf42c02 100644
--- a/pcre_config.c
+++ b/pcre_config.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2009 University of Cambridge
+ Copyright (c) 1997-2011 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -83,6 +83,14 @@ switch (what)
#endif
break;
+ case PCRE_CONFIG_JIT:
+#ifdef SUPPORT_JIT
+ *((int *)where) = 1;
+#else
+ *((int *)where) = 0;
+#endif
+ break;
+
case PCRE_CONFIG_NEWLINE:
*((int *)where) = NEWLINE;
break;