Some improvements towards successful build with netplay on MinGW.

Proabaly not completely there yet.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2464 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-10-27 01:20:13 +00:00
parent 620c00c52c
commit c243c3a73f
15 changed files with 92 additions and 20 deletions
+5 -1
View File
@@ -128,9 +128,13 @@ typedef unsigned short wchar_t;
typedef unsigned int wint_t;
#endif
#if defined (_MSC_VER) || defined(__MINGW32__)
# define USE_WINSOCK
#endif
// errno error numbers. The values used don't matter, as long as they
// don't conflict with existing errno error numbers.
#if defined (PORT_WANT_ERRNO) && defined (_MSC_VER)
#if defined (PORT_WANT_ERRNO) && defined (USE_WINSOCK)
# include <errno.h>
# ifndef E2BIG
# define E2BIG 0x01000001