We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c60b45 commit 6124b99Copy full SHA for 6124b99
lib/File/Map.xs
@@ -135,7 +135,7 @@ static size_t page_size() {
135
}
136
#endif
137
138
-#ifdef VMS
+#if defined(VMS) || defined(__GNU__)
139
#define madvise(address, length, advice) 0
140
141
t/20-threads.t
@@ -5,7 +5,7 @@ use warnings;
5
use Config;
6
BEGIN {
7
# Yes, this is really necessary
8
- if ($Config{useithreads}) {
+ if ($Config{useithreads} && $^O ne 'gnu') {
9
require threads;
10
threads->import();
11
require Test::More;
0 commit comments