Changeset 3666 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jul 17, 2007 6:33:02 AM (17 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.h
r1824 r3666 2 2 #define __COMMON_H__ 3 3 4 #ifdef __WIN__4 #ifdef RT_OS_WINDOWS 5 5 # include <winsock2.h> 6 6 typedef int socklen_t; … … 26 26 #include <VBox/log.h> 27 27 #include <iprt/mem.h> 28 #ifdef __WIN__28 #ifdef RT_OS_WINDOWS 29 29 # include <windows.h> 30 30 # include <io.h> -
trunk/src/VBox/Devices/Network/slirp/socket.c
r3226 r3666 592 592 (bind(s,(struct sockaddr *)&addr, sizeof(addr)) < 0) || 593 593 (listen(s,1) < 0)) { 594 #ifdef __WIN__594 #ifdef RT_OS_WINDOWS 595 595 int tmperrno = WSAGetLastError(); /* Don't clobber the real reason we failed */ 596 596 closesocket(s);
Note:
See TracChangeset
for help on using the changeset viewer.