Commit 13ab28d0 authored by paroga@webkit.org's avatar paroga@webkit.org
Browse files

2010-10-25 Patrick Gansterer <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Buildfix for NetworkStateNotifier
        https://bugs.webkit.org/show_bug.cgi?id=48240

        WinCE does not support RegisterWaitForSingleObject, so disable it for now.

        * platform/network/win/NetworkStateNotifierWin.cpp:
        (WebCore::NetworkStateNotifier::NetworkStateNotifier):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8388d184
2010-10-25 Patrick Gansterer <paroga@webkit.org>
Reviewed by Adam Roben.
[WINCE] Buildfix for NetworkStateNotifier
https://bugs.webkit.org/show_bug.cgi?id=48240
WinCE does not support RegisterWaitForSingleObject, so disable it for now.
* platform/network/win/NetworkStateNotifierWin.cpp:
(WebCore::NetworkStateNotifier::NetworkStateNotifier):
2010-10-25 David Hyatt <hyatt@apple.com>
 
Reviewed by Dan Bernstein.
......@@ -109,11 +109,14 @@ NetworkStateNotifier::NetworkStateNotifier()
memset(&m_overlapped, 0, sizeof(m_overlapped));
// FIXME: Check m_overlapped on WinCE.
#if !OS(WINCE)
m_overlapped.hEvent = ::CreateEvent(0, false, false, 0);
::RegisterWaitForSingleObject(&m_waitHandle, m_overlapped.hEvent, addrChangeCallback, this, INFINITE, 0);
registerForAddressChange();
#endif
}
}
} // namespace WebCore
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment