Skip to content

Commit 305697f

Browse files
committed
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.
1 parent 815f7ca commit 305697f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

perl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8874,6 +8874,8 @@ END_EXTERN_C
88748874
# endif
88758875
#endif
88768876

8877+
#endif /* DOUBLE_HAS_NAN */
8878+
88778879
/* these are used to faciliate the env var PERL_RAND_SEED,
88788880
* which allows consistent behavior from code that calls
88798881
* srand() with no arguments, either explicitly or implicitly.
@@ -8898,7 +8900,6 @@ END_EXTERN_C
88988900
#define PERL_SRAND_OVERRIDE_NEXT_PARENT() \
88998901
PERL_SRAND_OVERRIDE_NEXT()
89008902

8901-
#endif /* DOUBLE_HAS_NAN */
89028903

89038904
/*
89048905

0 commit comments

Comments
 (0)