diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-11-17 14:28:31 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-11-17 14:28:31 +0000 |
commit | 27f66c2862bb4ff164a80111db2a66f2aa78e46f (patch) | |
tree | 818f53518765e9de30c0c679f544e42ba07d126d | |
parent | 11f6f411b4a15b333423715b41b498f5f7745933 (diff) | |
download | haskell-27f66c2862bb4ff164a80111db2a66f2aa78e46f.tar.gz |
fix compile breakage on Windows
-rw-r--r-- | rts/Linker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 357023d164..1fbe6027d2 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1292,6 +1292,7 @@ void ghci_enquire ( char* addr ) static unsigned int PLTSize(void); #endif +#ifdef USE_MMAP static void * mmapForLinker (size_t bytes, nat flags, int fd) { @@ -1346,6 +1347,7 @@ mmap_again: return result; } +#endif // USE_MMAP /* ----------------------------------------------------------------------------- * Load an obj (populate the global symbol table, but don't resolve yet) |