Ticket #3017: patch-osutil.h.diff

File patch-osutil.h.diff, 448 bytes (added by andre@…, 20 years ago)

This is patchfile 2 of 2

  • netxx-0.4.2/src/osutil.h

    old new  
    8282    error_type get_last_error (void);
    8383
    8484
    85 #if defined(WIN32) || defined(__APPLE__) || defined (__CYGWIN__)
     85#if defined(WIN32) || defined (__CYGWIN__)
    8686    typedef int  os_socklen_type;
    8787    typedef int* os_socklen_ptr_type;
    8888#   define get_socklen_ptr(x) reinterpret_cast<int*>(&x)