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