]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
IDLs for VL32 must be same size as for 64bit
authorHoward Chu <hyc@openldap.org>
Thu, 17 Jan 2019 18:46:10 +0000 (18:46 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 17 Jan 2019 18:46:10 +0000 (18:46 +0000)
libraries/liblmdb/midl.h

index 3d647436f6dea0e91731df365ac0e436184a1a3f..0f826771a1c8bc5ecffe22a0e01c19904c483327 100644 (file)
@@ -12,7 +12,7 @@
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
  * Copyright 2000-2019 The OpenLDAP Foundation.
- * Portions Copyright 2001-2018 Howard Chu, Symas Corp.
+ * Portions Copyright 2001-2019 Howard Chu, Symas Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -56,11 +56,7 @@ typedef MDB_ID *MDB_IDL;
 /* IDL sizes - likely should be even bigger
  *   limiting factors: sizeof(ID), thread stack size
  */
-#ifdef MDB_VL32
-#define        MDB_IDL_LOGN    14      /* DB_SIZE is 2^14, UM_SIZE is 2^15 */
-#else
 #define        MDB_IDL_LOGN    16      /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
-#endif
 #define MDB_IDL_DB_SIZE                (1<<MDB_IDL_LOGN)
 #define MDB_IDL_UM_SIZE                (1<<(MDB_IDL_LOGN+1))