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=1f4a92cc1ef967510cd3b674aa3391ddf117b3e7;p=rrdtool-all.git accidentely removed #endif restored git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1698 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_open.c b/program/src/rrd_open.c index 2167051d..9f1a61f5 100644 --- a/program/src/rrd_open.c +++ b/program/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);