Changeset 51582 in vbox for trunk/src/VBox
- Timestamp:
- Jun 9, 2014 10:47:09 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94287
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/proxy_tftpd.c
r51574 r51582 2 2 #define LOG_GROUP LOG_GROUP_NAT_SERVICE 3 3 4 #define _USE_WINSTD_ERRNO5 /* XXX: replace POSIX file operations with IPRT, to avoid hacks with errno renamings */6 4 #include "winutils.h" 7 5 -
trunk/src/VBox/NetworkServices/NAT/winutils.h
r51581 r51582 38 38 39 39 # define SOCKERRNO() (WSAGetLastError()) 40 41 /**42 * tftpd emulation we're using POSIX operations which needs "DOS errno". see proxy_tftpd.c43 */44 # ifndef _USE_WINSTD_ERRNO45 /**46 * http://msdn.microsoft.com/en-us/library/windows/desktop/ms737828(v=vs.85).aspx47 * "Error Codes - errno, h_errno and WSAGetLastError" says "Error codes set by Windows Sockets are48 * not made available through the errno variable."49 */50 # include <errno.h>51 # ifdef errno52 # undef errno53 # endif54 # define errno (WSAGetLastError())55 # endif56 /* Missing errno codes */57 40 58 41 /**
Note:
See TracChangeset
for help on using the changeset viewer.