Permalink
Browse files

Disabled madvise on cygwin

  • Loading branch information...
1 parent 204553f commit 3f54e9ad72378a60f98be63025eb188b24d12fc4 @Leont committed Feb 14, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/File/Map.xs
View
@@ -9,6 +9,7 @@
#ifdef __CYGWIN__
# undef WIN32
# undef _WIN32
+# define madvise(address, length, advice) 0
#endif
#include <assert.h>

0 comments on commit 3f54e9a

Please sign in to comment.