From: Hallvard Furuseth Date: Fri, 9 Aug 2013 10:54:42 +0000 (+0200) Subject: Re-fix reader-pid code X-Git-Tag: OPENLDAP_REL_ENG_2_4_36~12^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=22c104c5d7783c5fda8b354e68302f7f54a3dddf;p=openldap Re-fix reader-pid code --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 386a1dcc8c..f56277ecb1 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -163,7 +163,7 @@ #define GET_PAGESIZE(x) {SYSTEM_INFO si; GetSystemInfo(&si); (x) = si.dwPageSize;} #define close(fd) (CloseHandle(fd) ? 0 : -1) #define munmap(ptr,len) UnmapViewOfFile(ptr) -#ifndef PROCESS_QUERY_LIMITED_INFORMATION +#ifdef PROCESS_QUERY_LIMITED_INFORMATION #define MDB_PROCESS_QUERY_LIMITED_INFORMATION PROCESS_QUERY_LIMITED_INFORMATION #else #define MDB_PROCESS_QUERY_LIMITED_INFORMATION 0x1000