mingw32 typedef's and not define's SOCKET so test for __WXMSW__ before redefining it ourselves

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-25 19:52:00 +00:00
parent de4c659eda
commit 9508a3e9a0

View File

@@ -3,7 +3,7 @@
// Purpose: wxSocketImpl nd related declarations
// Authors: Guilhem Lavaux, Vadim Zeitlin
// Created: April 1997
// RCS-ID: $Id: socket.h 56994 2008-11-28 12:47:07Z VZ $
// RCS-ID: $Id$
// Copyright: (c) 1997 Guilhem Lavaux
// (c) 2008 Vadim Zeitlin
// Licence: wxWindows licence
@@ -78,7 +78,7 @@
// define some symbols which winsock.h defines but traditional BSD headers
// don't
#ifndef SOCKET
#ifndef __WXMSW__
#define SOCKET int
#endif