]> git.sur5r.net Git - openldap/blobdiff - include/ldap_pvt.h
Merge remote-tracking branch 'origin/mdb.RE/0.9'
[openldap] / include / ldap_pvt.h
index ea4c7633052ed460af73ab05ea5f43cecfa63383..094f918b7a820b72d9c51d0e05be3b2732e12707 100644 (file)
@@ -127,6 +127,13 @@ struct lutil_tm;
 LDAP_F( void )
 ldap_pvt_gettime LDAP_P(( struct lutil_tm * ));
 
+#ifdef _WIN32
+#define gettimeofday(tv,tz)    ldap_pvt_gettimeofday(tv,tz)
+struct timeval;
+LDAP_F( int )
+ldap_pvt_gettimeofday LDAP_P(( struct timeval *tv, void *unused ));
+#endif
+
 /* use this macro to allocate buffer for ldap_pvt_csnstr */
 #define LDAP_PVT_CSNSTR_BUFSIZE        64
 LDAP_F( size_t )