aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_byte_order.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_byte_order.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_byte_order.c')
-rw-r--r--erts/emulator/pcre/pcre_byte_order.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre_byte_order.c b/erts/emulator/pcre/pcre_byte_order.c
index 7f8457742d..710676988f 100644
--- a/erts/emulator/pcre/pcre_byte_order.c
+++ b/erts/emulator/pcre/pcre_byte_order.c
@@ -96,8 +96,13 @@ Returns: 0 if the swap is successful, negative on error
*/
#if defined COMPILE_PCRE8
+#if defined(ERLANG_INTEGRATION)
+PCRE_EXP_DECL int erts_pcre_pattern_to_host_byte_order(pcre *argument_re,
+ erts_pcre_extra *extra_data, const unsigned char *tables)
+#else
PCRE_EXP_DECL int pcre_pattern_to_host_byte_order(pcre *argument_re,
pcre_extra *extra_data, const unsigned char *tables)
+#endif
#elif defined COMPILE_PCRE16
PCRE_EXP_DECL int pcre16_pattern_to_host_byte_order(pcre16 *argument_re,
pcre16_extra *extra_data, const unsigned char *tables)