aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_dfa_exec.c
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2013-07-15 11:23:38 +0200
committerPatrik Nyblom <[email protected]>2013-08-06 16:19:24 +0200
commit7a0cc794dddd65ef825571056b71e3fca7f4f315 (patch)
tree52752ea54b451a2ba6b183124c70b59f90ef048d /erts/emulator/pcre/pcre_dfa_exec.c
parentd0898734b7ae62572579a0ecd0b03ab451b233bb (diff)
downloadotp-7a0cc794dddd65ef825571056b71e3fca7f4f315.tar.gz
otp-7a0cc794dddd65ef825571056b71e3fca7f4f315.tar.bz2
otp-7a0cc794dddd65ef825571056b71e3fca7f4f315.zip
Add erts_prefix to pcre_library and update erl_bif_re
Diffstat (limited to 'erts/emulator/pcre/pcre_dfa_exec.c')
-rw-r--r--erts/emulator/pcre/pcre_dfa_exec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre_dfa_exec.c b/erts/emulator/pcre/pcre_dfa_exec.c
index 9e00552163..f5718a3b33 100644
--- a/erts/emulator/pcre/pcre_dfa_exec.c
+++ b/erts/emulator/pcre/pcre_dfa_exec.c
@@ -3099,10 +3099,17 @@ Returns: > 0 => number of match offset pairs placed in offsets
*/
#if defined COMPILE_PCRE8
+#if defined(ERLANG_INTEGRATION)
+PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+erts_pcre_dfa_exec(const pcre *argument_re, const erts_pcre_extra *extra_data,
+ const char *subject, int length, int start_offset, int options, int *offsets,
+ int offsetcount, int *workspace, int wscount)
+#else
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre_dfa_exec(const pcre *argument_re, const pcre_extra *extra_data,
const char *subject, int length, int start_offset, int options, int *offsets,
int offsetcount, int *workspace, int wscount)
+#endif
#elif defined COMPILE_PCRE16
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre16_dfa_exec(const pcre16 *argument_re, const pcre16_extra *extra_data,