better {local,gm}time documentation (from Mark-Jason Dominus)
[p5sagit/p5-mst-13.2.git] / toke.c
diff --git a/toke.c b/toke.c
index ac74ba0..5740442 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -7003,7 +7003,8 @@ Perl_scan_num(pTHX_ char *start)
        if (floatit) {
            char *tp;
            errno = 0;
-#ifdef USE_LONG_DOUBLE
+/* For some reason VMS doesn't have strrold at the moment. Dunno why */
+#if defined(USE_LONG_DOUBLE) && (defined(HAS_STRTOLD) || !defined(VMS))
            value = strtold(PL_tokenbuf,&tp);
 #else
            value = strtod(PL_tokenbuf,&tp);