]> git.saurik.com Git - wxWidgets.git/commitdiff
mingw32 typedef's and not define's SOCKET so test for __WXMSW__ before redefining...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Dec 2008 19:52:00 +0000 (19:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Dec 2008 19:52:00 +0000 (19:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/private/socket.h

index c7eef411d409be0a3b9c92b0ad32f844be81dfd1..bc4e35013fa5107709c2a6f5b7226ddf491ae809 100644 (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