Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make madvise work on older cygwin's too

  • Loading branch information...
commit cdc7f60250412a34f8307e05f741792292e35c7c 1 parent d281d3b
@Leont authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  Changes
  2. +1 −0  lib/File/Map.xs
View
1  Changes
@@ -1,6 +1,7 @@
Revision history for File-Map
{{$NEXT}}
+ Fix madvice on old cygwin versions
0.47 2012-04-04 23:17:55 Europe/Amsterdam
Restore fileno in sys_map; this fixes #76253: non-anonymous sys_map was useable since e102d034
View
1  lib/File/Map.xs
@@ -16,6 +16,7 @@
#ifdef __CYGWIN__
# undef WIN32
# undef _WIN32
+# define madvise posix_madvise
#endif
#include <assert.h>
Please sign in to comment.
Something went wrong with that request. Please try again.