Socket.hpp   Socket.hpp 
skipping to change at line 28 skipping to change at line 28
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this library; if not, write to the Free Software along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, US A. Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, US A.
*/ */
#ifndef _SOCKET_HPP_ #ifndef _SOCKET_HPP_
#define _SOCKET_HPP_ #define _SOCKET_HPP_
#include "config.h"
#include <QtGlobal> #include <QtGlobal>
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN
#include <winsock2.h> #include <winsock2.h>
#include <fcntl.h> #include <fcntl.h>
#define ERRNO WSAGetLastError() #define ERRNO WSAGetLastError()
#undef EAGAIN #undef EAGAIN
#define EAGAIN WSAEWOULDBLOCK #define EAGAIN WSAEWOULDBLOCK
#undef EINTR #undef EINTR
#define EINTR WSAEINTR #define EINTR WSAEINTR
#undef ECONNRESET #undef ECONNRESET
#define ECONNRESET WSAECONNRESET #define ECONNRESET WSAECONNRESET
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/