Permalink
Browse files

Revert "Disabled madvise on cygwin"

This reverts commit 3f54e9a.
  • Loading branch information...
1 parent dccef60 commit 7f2ece72ca9e1145924f9875d3ee7208d3dc676e @Leont committed Feb 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −0 Changes
  2. +0 −1 lib/File/Map.xs
View
@@ -1,6 +1,7 @@
Revision history for File-Map
{{$NEXT}}
+ Fix madvise on cygwin
0.45 2012-02-22 20:17:29 Europe/Amsterdam
Replace round() by floor() + 0.5. The former is C99, the latter in C89...
View
@@ -16,7 +16,6 @@
#ifdef __CYGWIN__
# undef WIN32
# undef _WIN32
-# define madvise(address, length, advice) 0
#endif
#include <assert.h>

0 comments on commit 7f2ece7

Please sign in to comment.