aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_refcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/pcre/pcre_refcount.c')
-rw-r--r--erts/emulator/pcre/pcre_refcount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre_refcount.c b/erts/emulator/pcre/pcre_refcount.c
index 5b2af2f47b..33d5a528af 100644
--- a/erts/emulator/pcre/pcre_refcount.c
+++ b/erts/emulator/pcre/pcre_refcount.c
@@ -70,8 +70,13 @@ Returns: the (possibly updated) count value (a non-negative number), or
*/
#if defined COMPILE_PCRE8
+#if defined(ERLANG_INTEGRATION)
+PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+erts_pcre_refcount(pcre *argument_re, int adjust)
+#else
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre_refcount(pcre *argument_re, int adjust)
+#endif
#elif defined COMPILE_PCRE16
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre16_refcount(pcre16 *argument_re, int adjust)