having been defined in sys/types.h" when winsock.h is included later and
doesn't seem to be necessary anyhow. It's not needed under Mac neither.
*/
-#if !defined(__WXMAC__) && !defined(__CYGWIN__) && !defined(__WXWINCE__)
+#if !defined(__WXMAC__) && !defined(__WXMSW__) && !defined(__WXWINCE__)
#include <sys/types.h>
#endif
// define some symbols which winsock.h defines but traditional BSD headers
// don't
-#ifndef __WINDOWS__
- #define SOCKET int
-#endif
-
#ifndef INVALID_SOCKET
#define INVALID_SOCKET (-1)
#endif
// TODO: make these fields protected and provide accessors for those of
// them that wxSocketBase really needs
//protected:
- SOCKET m_fd;
+ wxSOCKET_T m_fd;
int m_initialRecvBufferSize;
int m_initialSendBufferSize;