summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-10-13 14:50:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-13 14:50:42 +0000
commitb8d3c5dbe700bcf673400eeed81122fc068142b4 (patch)
tree02a7c1cae6c6486ca2c7f6eaf15724e4ed169595 /perl.h
parent75423b5f6d91abef8e19b455d17f528607861a8b (diff)
downloadperl-b8d3c5dbe700bcf673400eeed81122fc068142b4.tar.gz
In Amdahl UTS "struct sv" is defined by a system header,
<ksync.h>. p4raw-id: //depot/perl@7217
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 1ae1bcf21d..b655e0477a 100644
--- a/perl.h
+++ b/perl.h
@@ -1456,7 +1456,12 @@ typedef struct pvop PVOP;
typedef struct loop LOOP;
typedef struct interpreter PerlInterpreter;
-typedef struct sv SV;
+#ifdef UTS
+# define STRUCT_SV perl_sv /* Amdahl's <ksync.h> has struct sv */
+#else
+# define STRUCT_SV sv
+#endif
+typedef struct STRUCT_SV SV;
typedef struct av AV;
typedef struct hv HV;
typedef struct cv CV;