From f241326688a1194c7487ac998177f9f7aa5ac406 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 26 May 2011 20:36:21 +0000 Subject: At least in theory, this patch lets us compile on Windows (which does not have mmap(), from what I can tell). --- test-mmap.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-mmap.c (limited to 'test-mmap.c') diff --git a/test-mmap.c b/test-mmap.c new file mode 100644 index 00000000..87596e3f --- /dev/null +++ b/test-mmap.c @@ -0,0 +1,9 @@ +#include + +int +main(int argc, char **argv) +{ + + mmap(0, 0, PROT_READ, MAP_FILE|MAP_SHARED, -1, 0); + return 0; +} -- cgit v1.2.3-56-ge451