Re-fix reader-pid code

vmware
Hallvard Furuseth 11 years ago
parent 38b11b1de1
commit 22c104c5d7
  1. 2
      libraries/liblmdb/mdb.c

@ -163,7 +163,7 @@
#define GET_PAGESIZE(x) {SYSTEM_INFO si; GetSystemInfo(&si); (x) = si.dwPageSize;} #define GET_PAGESIZE(x) {SYSTEM_INFO si; GetSystemInfo(&si); (x) = si.dwPageSize;}
#define close(fd) (CloseHandle(fd) ? 0 : -1) #define close(fd) (CloseHandle(fd) ? 0 : -1)
#define munmap(ptr,len) UnmapViewOfFile(ptr) #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 #define MDB_PROCESS_QUERY_LIMITED_INFORMATION PROCESS_QUERY_LIMITED_INFORMATION
#else #else
#define MDB_PROCESS_QUERY_LIMITED_INFORMATION 0x1000 #define MDB_PROCESS_QUERY_LIMITED_INFORMATION 0x1000

Loading…
Cancel
Save