summaryrefslogtreecommitdiffstats
path: root/lang/perl/patches/020-gcc14.patch
blob: 76603a0217f8c1b5dc40744adff397035ebe6c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -28,11 +28,7 @@ static int not_here(const char *s);
 #include <sys/errno2.h>
 #endif
 #include <float.h>
-#ifdef I_FENV
-#if !(defined(__vax__) && defined(__NetBSD__))
 #include <fenv.h>
-#endif
-#endif
 #include <limits.h>
 #include <locale.h>
 #include <math.h>
@@ -182,7 +178,7 @@ static int not_here(const char *s);
 #endif
 
 /* We will have an emulation. */
-#ifndef FE_TONEAREST
+#ifndef FE_TOWARDZERO
 #  define FE_TOWARDZERO	0
 #  define FE_TONEAREST	1
 #  define FE_UPWARD	2