summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-06 19:23:06 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-06 19:23:06 +0000
commite788e7d35b1f8979a002a1e994535be7aae30018 (patch)
tree441eb4c139c118d109a46c23ef6b62ad744408ac /cop.h
parent9bc648147f297cac824aecca53c6e0232b54c002 (diff)
downloadperl-e788e7d35b1f8979a002a1e994535be7aae30018.tar.gz
rename s/\bSI_/PERLSI_/ to avoid collisions with sysinfo headers
p4raw-id: //depot/perl@1339
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/cop.h b/cop.h
index 478bfd432e..644f45612c 100644
--- a/cop.h
+++ b/cop.h
@@ -292,17 +292,17 @@ struct context {
* This ensures magic doesn't invalidate local stack and cx pointers.
*/
-#define SI_UNKNOWN -1
-#define SI_UNDEF 0
-#define SI_MAIN 1
-#define SI_MAGIC 2
-#define SI_SORT 3
-#define SI_SIGNAL 4
-#define SI_OVERLOAD 5
-#define SI_DESTROY 6
-#define SI_WARNHOOK 7
-#define SI_DIEHOOK 8
-#define SI_REQUIRE 9
+#define PERLSI_UNKNOWN -1
+#define PERLSI_UNDEF 0
+#define PERLSI_MAIN 1
+#define PERLSI_MAGIC 2
+#define PERLSI_SORT 3
+#define PERLSI_SIGNAL 4
+#define PERLSI_OVERLOAD 5
+#define PERLSI_DESTROY 6
+#define PERLSI_WARNHOOK 7
+#define PERLSI_DIEHOOK 8
+#define PERLSI_REQUIRE 9
struct stackinfo {
AV * si_stack; /* stack for current runlevel */
@@ -345,7 +345,7 @@ typedef struct stackinfo PERL_SI;
SET_MARKBASE; \
} STMT_END
-#define PUSHSTACK PUSHSTACKi(SI_UNKNOWN)
+#define PUSHSTACK PUSHSTACKi(PERLSI_UNKNOWN)
#define POPSTACK \
STMT_START { \