]> git.sur5r.net Git - openldap/commitdiff
MSVC doesn't define mode_t
authorHoward Chu <hyc@symas.com>
Sun, 31 Mar 2013 16:10:43 +0000 (08:10 -0800)
committerHoward Chu <hyc@symas.com>
Sun, 31 Mar 2013 16:10:43 +0000 (08:10 -0800)
libraries/liblmdb/lmdb.h

index b94bd2d3b81ea5dd584e5137a29093909ce1c6cd..954062456e8f07d305376307200dbddb237ae49a 100644 (file)
 extern "C" {
 #endif
 
+#ifdef _MSC_VER
+#define        mode_t  int
+#endif
+
 /** @defgroup mdb MDB API
  *     @{
  *     @brief OpenLDAP Lightning Memory-Mapped Database Manager