Skip to content
  • Peter Harris's avatar
    Fix build on Windows · 4b0d9d38
    Peter Harris authored
    
    
    Notable changes: Protect include of unistd.h (and other POSIX headers).
    Use SOCKET (which is larger than int) and closesocket (because close is
    not compatible) for sockets. Use <stdint.h>'s intptr_t instead of the
    non-portable ssize_t.
    
    Signed-off-by: default avatarPeter Harris <pharris@opentext.com>
    4b0d9d38