Permalink
Browse files

Fix SV_CHECK_THINKFIRST_COW_DROP on 5.8.x

  • Loading branch information...
1 parent 93294e3 commit 3746a1947a2321bf9701026ff8f5b436a8903d15 @Leont committed Dec 14, 2012
Showing with 5 additions and 0 deletions.
  1. +1 −0 Changes
  2. +4 −0 lib/File/Map.xs
View
@@ -1,6 +1,7 @@
Revision history for File-Map
{{$NEXT}}
+ Fix SV_CHECK_THINKFIRST_COW_DROP on 5.8.x
0.54 2012-12-13 23:47:47 Europe/Amsterdam
Deal better with copy-on-write
View
@@ -63,6 +63,10 @@
#define MMAP_MAGIC_NUMBER 0x4c54
+#ifndef SV_CHECK_THINKFIRST_COW_DROP
+#define SV_CHECK_THINKFIRST_COW_DROP(sv) SV_CHECK_THINKFIRST(sv)
+#endif
+
struct mmap_info {
void* real_address;
void* fake_address;

0 comments on commit 3746a19

Please sign in to comment.