]> git.sur5r.net Git - openldap/commitdiff
Re-fix reader-pid code
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 9 Aug 2013 10:54:42 +0000 (12:54 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 9 Aug 2013 10:54:42 +0000 (12:54 +0200)
libraries/liblmdb/mdb.c

index 386a1dcc8c87b825efe741a4f535d57b9d1645f9..f56277ecb11ca3188157755e8cb816b9806ad4a0 100644 (file)
 #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