summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d8798c)
raw | patch | inline | side by side (parent: 9d8798c)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000) |
program/src/rrd_open.c | patch | blob | history |
diff --git a/program/src/rrd_open.c b/program/src/rrd_open.c
index 2167051d0e508ab727d82b500dc888008700847d..9f1a61f5c7796c1431671d6b7950df2758d4e909 100644 (file)
--- a/program/src/rrd_open.c
+++ b/program/src/rrd_open.c
#ifdef HAVE_MMAP
mm_flags = MAP_SHARED;
mm_prot |= PROT_WRITE;
+#endif
}
if (rdwr & RRD_CREAT) {
flags |= (O_CREAT | O_TRUNC);