aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_byte_order.c
diff options
context:
space:
mode:
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)