There seems to be two ways of spelling the $^O in *STEP.
Jarkko Hietaniemi [Tue, 26 Jun 2001 03:44:29 +0000 (03:44 +0000)]
p4raw-id: //depot/perl@10948

ext/Errno/Errno_pm.PL

index 93790af..f4e22c3 100644 (file)
@@ -30,7 +30,7 @@ sub process_file {
     } elsif ($Config{gccversion} ne '' &&
              # OpenSTEP has gcc 2.7.2.1 which recognizes but
             # doesn't implement the -dM flag.
-            $^O ne 'next4'
+            $^O ne 'openstep' && $^O ne 'next')
             ) { 
        # With the -dM option, gcc outputs every #define it finds
        unless(open(FH,"$Config{cc} -E -dM $Config{cppflags} $file |")) {