Bug 1421247, Fix #ifdef from bug 1404061, r=kaie NSPR_4_18_BETA2
authorDragana Damjanovic <dd.mozilla@gmail.com>
Wed, 29 Nov 2017 13:33:37 +0100
changeset 4766 a47b4aa1a499aa732113b462b8e8abe5150be8e0
parent 4765 2b5ef04c14838acd59f640c6952d412a0716b8ea
child 4767 ca654cbefd8cf0d317e824ec11eb7891605b2109
push id280
push userkaie@kuix.de
push dateWed, 29 Nov 2017 12:33:44 +0000
reviewerskaie
bugs1421247, 1404061
Bug 1421247, Fix #ifdef from bug 1404061, r=kaie
pr/src/md/windows/w95thred.c
--- a/pr/src/md/windows/w95thred.c
+++ b/pr/src/md/windows/w95thred.c
@@ -61,17 +61,17 @@ void _PR_MD_CLEANUP_BEFORE_EXIT(void)
         PRIntervalTime delay = PR_MillisecondsToInterval(1000);
         PRFileDescList *cur;
         do {
             CheckOverlappedPendingSocketsAreDone();
 
             PR_Lock(_fd_waiting_for_overlapped_done_lock);
             cur = _fd_waiting_for_overlapped_done;
             PR_Unlock(_fd_waiting_for_overlapped_done_lock);
-#if define DO_NOT_WAIT_FOR_CONNECT_OVERLAPPED_OPERATIONS
+#if defined(DO_NOT_WAIT_FOR_CONNECT_OVERLAPPED_OPERATIONS)
             cur = NULL;
 #endif
             if (cur) {
                 PR_Sleep(delay); // wait another 1s.
             }
         } while (cur);
 
         PR_DestroyLock(_fd_waiting_for_overlapped_done_lock);