projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29a25d
)
Probably fix compile on win32 (no sys/mman.h).
author
Juho Snellman
<jsnell@iki.fi>
Thu, 29 Sep 2011 09:06:48 +0000
(11:06 +0200)
committer
Juho Snellman
<jsnell@iki.fi>
Thu, 29 Sep 2011 09:06:48 +0000
(11:06 +0200)
src/runtime/coreparse.c
patch
|
blob
|
history
diff --git
a/src/runtime/coreparse.c
b/src/runtime/coreparse.c
index
85f2aa9
..
3109b0b
100644
(file)
--- a/
src/runtime/coreparse.c
+++ b/
src/runtime/coreparse.c
@@
-22,11
+22,14
@@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+
+#ifndef LISP_FEATURE_WIN32
#ifdef LISP_FEATURE_LINUX
/* For madvise */
# define _BSD_SOURCE
#endif
#include <sys/mman.h>
+#endif
#include "sbcl.h"
#include "os.h"