Bug 1576364 - Enable LDAP async IO on Windows. r+a=jorgk
authorKai Engert <kaie@kuix.de>
Thu, 07 Nov 2019 11:38:31 +0100
changeset 36393 d4f11632f5ea1773c4ed6fe3d09a20e79270fede
parent 36392 d040a773e7ad648eaca582cb85a88c61fef82d52
child 36394 4c356f38873a7e90b1473f1599088c550fc770d2
push id2523
push usermozilla@jorgk.com
push dateThu, 07 Nov 2019 13:59:32 +0000
treeherdercomm-beta@4c356f38873a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1576364
Bug 1576364 - Enable LDAP async IO on Windows. r+a=jorgk
ldap/c-sdk/include/portable.h
--- a/ldap/c-sdk/include/portable.h
+++ b/ldap/c-sdk/include/portable.h
@@ -156,19 +156,17 @@
 #  define snprintf _snprintf
 #endif
 
 /*
  * Async IO.  Use a non blocking implementation of connect() and
  * dns functions
  */
 #if !defined(LDAP_ASYNC_IO)
-#  if !defined(_WINDOWS) && !defined(macintosh)
-#    define LDAP_ASYNC_IO
-#  endif /* _WINDOWS */
+#  define LDAP_ASYNC_IO
 #endif
 
 /*
  * for select()
  */
 #if !defined(WINSOCK) && !defined(_WINDOWS) && !defined(macintosh) && \
     !defined(XP_OS2)
 #  if defined(hpux) || defined(LINUX) || defined(SUNOS4) || defined(XP_BEOS)