diff options
-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) |