diff options
author | Patrik Nyblom <[email protected]> | 2013-07-15 11:23:38 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2013-08-06 16:19:24 +0200 |
commit | 7a0cc794dddd65ef825571056b71e3fca7f4f315 (patch) | |
tree | 52752ea54b451a2ba6b183124c70b59f90ef048d /erts/emulator/pcre/pcre_internal.h | |
parent | d0898734b7ae62572579a0ecd0b03ab451b233bb (diff) | |
download | otp-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.h | 9 |
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 |