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:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user