Add missing syms to global.sym; update magic doc
[p5sagit/p5-mst-13.2.git] / universal.c
index 3cd7166..74d182d 100644 (file)
@@ -198,9 +198,7 @@ XS(XS_UNIVERSAL_VERSION)
     GV *gv;
     SV *sv;
     char *undef;
-#ifdef _SYS_ISC
-    double req = SvNV(ST(1));
-#endif
+    double req;
 
     if(SvROK(ST(0))) {
         sv = (SV*)SvRV(ST(0));
@@ -225,14 +223,9 @@ XS(XS_UNIVERSAL_VERSION)
         undef = "(undef)";
     }
 
-#ifdef _SYS_ISC
-    /* needed for C compiler of Interactive Unix */
-    if(items > 1 && (undef || (req = SvNV(ST(1)) && req > SvNV(sv))))
-#else
-    if(items > 1 && (undef || SvNV(ST(1)) > SvNV(sv)))
-#endif
+    if (items > 1 && (undef || (req = SvNV(ST(1)), req > SvNV(sv))))
        croak("%s version %s required--this is only version %s",
-           HvNAME(pkg),SvPV(ST(1),na),undef ? undef : SvPV(sv,na));
+             HvNAME(pkg), SvPV(ST(1),na), undef ? undef : SvPV(sv,na));
 
     ST(0) = sv;