From: oetiker Date: Fri, 5 Dec 2008 15:25:18 +0000 (+0000) Subject: accidentely removed #endif restored X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cf7c343008c236ed86dcb831ad4dff68620b09fa;p=rrdtool.git accidentely removed #endif restored git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1698 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_open.c b/src/rrd_open.c index 2167051..9f1a61f 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -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);