]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/ldap-int.h
basic poll(2) implementation for connect(2) (needs work)
[openldap] / libraries / libldap / ldap-int.h
index 73b0aa999d6a965c20ba17c2d0276a4a2888e991..844fd4cdc2140058e3e081216c8341876bf77e39 100644 (file)
@@ -42,6 +42,9 @@
 #define SASL_MIN_BUFF_SIZE     4096
 #endif
 
+#undef TV2MILLISEC
+#define TV2MILLISEC(tv) (((tv)->sec * 1000) + ((tv)->tv_usec/1000))
+
 /* 
  * Support needed if the library is running in the kernel
  */