VirtualBox

Ignore:
Timestamp:
Nov 9, 2016 4:11:51 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111833
Message:

NAT: sort Windows s/WSA definitions alphabetically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.h

    r64614 r64615  
    8282# if defined(_MSC_VER) && _MSC_VER >= 1600
    8383#  include <errno.h>
    84 #  undef EWOULDBLOCK
    85 #  undef EINPROGRESS
    86 #  undef ENOTCONN
    87 #  undef ESHUTDOWN
    88 #  undef EHOSTUNREACH
    89 #  undef ENETUNREACH
    9084#  undef ECONNREFUSED
    9185#  undef ECONNRESET
    9286#  undef EHOSTDOWN
     87#  undef EHOSTUNREACH
     88#  undef EINPROGRESS
    9389#  undef ENETDOWN
    94 # endif
    95 # define EWOULDBLOCK WSAEWOULDBLOCK
    96 # define EINPROGRESS WSAEINPROGRESS
    97 # define ENOTCONN WSAENOTCONN
    98 # define ESHUTDOWN WSAESHUTDOWN
    99 # define EHOSTUNREACH WSAEHOSTUNREACH
    100 # define ENETUNREACH WSAENETUNREACH
     90#  undef ENETUNREACH
     91#  undef ENOTCONN
     92#  undef ESHUTDOWN
     93#  undef EWOULDBLOCK
     94# endif
    10195# define ECONNREFUSED WSAECONNREFUSED
    10296# define ECONNRESET WSAECONNRESET
    10397# define EHOSTDOWN WSAEHOSTDOWN
     98# define EHOSTUNREACH WSAEHOSTUNREACH
     99# define EINPROGRESS WSAEINPROGRESS
    104100# define ENETDOWN WSAENETDOWN
     101# define ENETUNREACH WSAENETUNREACH
     102# define ENOTCONN WSAENOTCONN
     103# define ESHUTDOWN WSAESHUTDOWN
     104# define EWOULDBLOCK WSAEWOULDBLOCK
    105105
    106106/* standard names for the shutdown() "how" argument */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette