projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11f6f41
)
fix compile breakage on Windows
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 17 Nov 2008 14:28:31 +0000
(14:28 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 17 Nov 2008 14:28:31 +0000
(14:28 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
357023d
..
1fbe602
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-1292,6
+1292,7
@@
void ghci_enquire ( char* addr )
static unsigned int PLTSize(void);
#endif
static unsigned int PLTSize(void);
#endif
+#ifdef USE_MMAP
static void *
mmapForLinker (size_t bytes, nat flags, int fd)
{
static void *
mmapForLinker (size_t bytes, nat flags, int fd)
{
@@
-1346,6
+1347,7
@@
mmap_again:
return result;
}
return result;
}
+#endif // USE_MMAP
/* -----------------------------------------------------------------------------
* Load an obj (populate the global symbol table, but don't resolve yet)
/* -----------------------------------------------------------------------------
* Load an obj (populate the global symbol table, but don't resolve yet)