VirtualBox

Ignore:
Timestamp:
Jul 29, 2016 12:55:38 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109254
Message:

Use the iprt/win/winsock2.h wrapper for winsock2.h

Location:
trunk/src/VBox/NetworkServices/NAT
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/RTWinPoll.cpp

    r62679 r62681  
    2626#include <VBox/log.h>
    2727
    28 #include <Winsock2.h>
     28#include <iprt/win/winsock2.h>
    2929#include <iprt/win/windows.h>
    3030#include "winpoll.h"
     
    5555          continue;
    5656
    57         /**
     57        /*
    5858         * POLLIN         Data other than high priority data may be read without blocking.
    5959         * This is equivalent to ( POLLRDNORM | POLLRDBAND ).
     
    6464            eventMask |= FD_READ | FD_ACCEPT;
    6565
    66         /**
     66        /*
    6767         * POLLOUT        Normal data may be written without blocking.  This is equivalent
    6868         *  to POLLWRNORM.
     
    7272            eventMask |= FD_WRITE | FD_CONNECT;
    7373
    74         /**
     74        /*
    7575         * This is "moral" equivalent to POLLHUP.
    7676         */
  • trunk/src/VBox/NetworkServices/NAT/RTWinSocketPair.cpp

    r62679 r62681  
    2323#include <VBox/err.h>
    2424
    25 #include <Winsock2.h>
     25#include <iprt/win/winsock2.h>
    2626#include <iprt/win/windows.h>
    2727
  • trunk/src/VBox/NetworkServices/NAT/winutils.h

    r62679 r62681  
    2222
    2323# ifdef RT_OS_WINDOWS
    24 #  include <WinSock2.h>
     24#  include <iprt/win/winsock2.h>
    2525#  include <ws2tcpip.h>
    2626#  include <mswsock.h>
Note: See TracChangeset for help on using the changeset viewer.

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