Change 11542 by jhi@alpha on 2001/08/01 22:40:09

        Subject: [ID 20010730.003] IRIX 6.5 already has struct sv in <sys/sema.h> 
(defined in perl.h)
        From: "Stian Seeberg" <[EMAIL PROTECTED]>
        Date: Mon, 30 Jul 2001 12:28:07 +0200
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/perl.h#372 edit

Differences ...

==== //depot/perl/perl.h#372 (text) ====
Index: perl/perl.h
--- perl/perl.h.~1~     Wed Aug  1 16:45:06 2001
+++ perl/perl.h Wed Aug  1 16:45:06 2001
@@ -1548,8 +1548,11 @@
 typedef struct loop LOOP;
 
 typedef struct interpreter PerlInterpreter;
-#ifdef UTS
-#   define STRUCT_SV perl_sv /* Amdahl's <ksync.h> has struct sv */
+
+/* Amdahl's <ksync.h> has struct sv */
+/* SGI's <sys/sema.h> has struct sv */
+#if defined(UTS) || defined(__sgi)
+#   define STRUCT_SV perl_sv
 #else
 #   define STRUCT_SV sv
 #endif
End of Patch.

Reply via email to