Tweak the Atof macro : perl wasn't compiling with -Duseithreads
Rafael Garcia-Suarez [Wed, 3 Apr 2002 21:08:21 +0000 (21:08 +0000)]
and ccflags including -DNO_LOCALE

p4raw-id: //depot/perl@15719

perl.h

diff --git a/perl.h b/perl.h
index 933bf30..383ae2d 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -3717,7 +3717,7 @@ typedef struct am_table_short AMTS;
 #define STORE_NUMERIC_STANDARD_SET_LOCAL()     /**/
 #define RESTORE_NUMERIC_LOCAL()                /**/
 #define RESTORE_NUMERIC_STANDARD()     /**/
-#define Atof                           Perl_atof
+#define Atof                           my_atof
 #define IN_LOCALE_RUNTIME              0
 
 #endif /* !USE_LOCALE_NUMERIC */