summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-08-26 09:23:46 +0200
committerYves Orton <demerphq@gmail.com>2022-08-26 19:28:11 +0200
commit305697f3995f7ddfba2e200c5deb2e274e1136c0 (patch)
tree9360b181eb6889a916ce9e4b6807b4b4c73d1e84
parent815f7cab0e120536f5b9091ca1aa117587ed18ea (diff)
downloadperl-305697f3995f7ddfba2e200c5deb2e274e1136c0.tar.gz
perl.h - move defines out of incorrect ifdef
Not sure how that happened in the original commit, but the PERL_RAND_SEED related defines should not be conditional on anything related to doubles.
-rw-r--r--perl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index b61a8417ad..cfdaacd162 100644
--- a/perl.h
+++ b/perl.h
@@ -8874,6 +8874,8 @@ END_EXTERN_C
# endif
#endif
+#endif /* DOUBLE_HAS_NAN */
+
/* these are used to faciliate the env var PERL_RAND_SEED,
* which allows consistent behavior from code that calls
* srand() with no arguments, either explicitly or implicitly.
@@ -8898,7 +8900,6 @@ END_EXTERN_C
#define PERL_SRAND_OVERRIDE_NEXT_PARENT() \
PERL_SRAND_OVERRIDE_NEXT()
-#endif /* DOUBLE_HAS_NAN */
/*