aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_internal.h
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_internal.h
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_internal.h')
-rw-r--r--erts/emulator/pcre/pcre_internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/emulator/pcre/pcre_internal.h b/erts/emulator/pcre/pcre_internal.h
index 1304a13c5d..af436bd99b 100644
--- a/erts/emulator/pcre/pcre_internal.h
+++ b/erts/emulator/pcre/pcre_internal.h
@@ -2600,12 +2600,21 @@ total length. */
/* Internal function and data prefixes. */
#if defined COMPILE_PCRE8
+#if defined(ERLANG_INTEGRATION)
+#ifndef PUBL
+#define PUBL(name) erts_pcre_##name
+#endif
+#ifndef PRIV
+#define PRIV(name) _erts_pcre_##name
+#endif
+#else
#ifndef PUBL
#define PUBL(name) pcre_##name
#endif
#ifndef PRIV
#define PRIV(name) _pcre_##name
#endif
+#endif
#elif defined COMPILE_PCRE16
#ifndef PUBL
#define PUBL(name) pcre16_##name