View | Details | Raw Unified | Return to bug 205922 | Differences between
and this patch

Collapse All | Expand All

(-)sal/osl/unx/sockimpl.hxx (-2 / +6 lines)
Lines 24-34 Link Here
24
#include <osl/socket.h>
24
#include <osl/socket.h>
25
#include <osl/interlck.h>
25
#include <osl/interlck.h>
26
26
27
#if defined(FREEBSD)
28
#define CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT 1
29
#endif
30
27
struct oslSocketImpl {
31
struct oslSocketImpl {
28
    int                 m_Socket;
32
    int                 m_Socket;
29
    int                 m_nLastError;
33
    int                 m_nLastError;
30
    oslInterlockedCount m_nRefCount;
34
    oslInterlockedCount m_nRefCount;
31
#if defined(LINUX)
35
#if CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT
32
    bool                m_bIsAccepting;
36
    bool                m_bIsAccepting;
33
    bool                m_bIsInShutdown;
37
    bool                m_bIsInShutdown;
34
#endif
38
#endif
Lines 45-51 Link Here
45
    sal_Char m_Name[PATH_MAX + 1];
49
    sal_Char m_Name[PATH_MAX + 1];
46
    oslInterlockedCount m_nRefCount;
50
    oslInterlockedCount m_nRefCount;
47
    bool m_bClosed;
51
    bool m_bClosed;
48
#if defined(LINUX)
52
#if CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT
49
    bool m_bIsAccepting;
53
    bool m_bIsAccepting;
50
    bool m_bIsInShutdown;
54
    bool m_bIsInShutdown;
51
#endif
55
#endif

Return to bug 205922