aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/pcre/pcre_config.c')
-rw-r--r--erts/emulator/pcre/pcre_config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre_config.c b/erts/emulator/pcre/pcre_config.c
index a116cc7ac6..06fa3d324f 100644
--- a/erts/emulator/pcre/pcre_config.c
+++ b/erts/emulator/pcre/pcre_config.c
@@ -71,8 +71,13 @@ Returns: 0 if data returned, negative on error
*/
#if defined COMPILE_PCRE8
+#if defined(ERLANG_INTEGRATION)
+PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
+erts_pcre_config(int what, void *where)
+#else
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre_config(int what, void *where)
+#endif
#elif defined COMPILE_PCRE16
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION
pcre16_config(int what, void *where)