summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 09:12:59 -0600
committerKarl Williamson <khw@cpan.org>2020-11-02 09:36:08 -0700
commit21d0beeb9a699f56e9539bcc09631c6d1acc53ec (patch)
treef5526402fd7ccb157886b60cd00a9c4175c7afc5 /regcomp.h
parent3ef83dc34df59346719352833a594e66f6958b42 (diff)
downloadperl-21d0beeb9a699f56e9539bcc09631c6d1acc53ec.tar.gz
regcomp.h: Restrict scope of symbols to core
Everything defined here are internal symbols
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index e12ce35d6c..6791b1c5be 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -8,7 +8,8 @@
*
*/
-#ifndef PERL_REGCOMP_H_
+#if ! defined(PERL_REGCOMP_H_) && ( defined(PERL_CORE) \
+ || defined(PERL_EXT_RE_BUILD))
#define PERL_REGCOMP_H_
#include "regcharclass.h"