diff options
author | Karl Williamson <khw@cpan.org> | 2015-03-06 13:27:41 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-03-12 19:45:15 -0600 |
commit | 22bc8aa4322ef10da30c6535091a327b3b904c34 (patch) | |
tree | c799b29b83f217ce8eb090e68a2222995574f4fa /perl.h | |
parent | eec978e5f1327dfd348e7205479fb6cb7a6abd3d (diff) | |
download | perl-22bc8aa4322ef10da30c6535091a327b3b904c34.tar.gz |
perl.h: Only #define item once
This definition was duplicated in both branches of an #if #else #endif
It's better to do it once, outside the #if.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -5954,8 +5954,6 @@ typedef struct am_table_short AMTS; #define RESTORE_NUMERIC_STANDARD() \ if (_was_standard) SET_NUMERIC_STANDARD(); -#define Atof my_atof - #else /* !USE_LOCALE_NUMERIC */ #define SET_NUMERIC_STANDARD() /**/ @@ -5973,10 +5971,10 @@ typedef struct am_table_short AMTS; #define LOCK_NUMERIC_STANDARD() #define UNLOCK_NUMERIC_STANDARD() -#define Atof my_atof - #endif /* !USE_LOCALE_NUMERIC */ +#define Atof my_atof + #ifdef USE_QUADMATH # define Perl_strtod(s, e) strtoflt128(s, e) #elif defined(HAS_LONG_DOUBLE) && defined(USE_LONG_DOUBLE) |