Code

accidentely removed #endif restored
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1698 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_open.c

index 2167051d0e508ab727d82b500dc888008700847d..9f1a61f5c7796c1431671d6b7950df2758d4e909 100644 (file)
@@ -131,6 +131,7 @@ rrd_file_t *rrd_open(
 #ifdef HAVE_MMAP
             mm_flags = MAP_SHARED;
             mm_prot |= PROT_WRITE;
+#endif
         }
         if (rdwr & RRD_CREAT) {
             flags |= (O_CREAT | O_TRUNC);