winutils.h revision daef40d247c31e2073c0ed0ec55fac77a4b89ac3
1707N/A#ifndef __WINUTILS_H_
1707N/A# define __WINUTILS_H_
1707N/A# ifdef RT_OS_WINDOWS
1707N/A# include <WinSock2.h>
1707N/A# include <ws2tcpip.h>
3842N/A * tftpd emulation we're using POSIX operations which needs "DOS errno". see proxy_tftpd.c
2976N/A# ifndef _USE_WINSTD_ERRNO
2976N/A * "Error Codes - errno, h_errno and WSAGetLastError" says "Error codes set by Windows Sockets are
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms740481(v=vs.85).aspx
/* otherwise defined the other way around in ws2def.h */
# define SOCKET int