Fix for cmake: Added test for __socklen_t_defined which is used on linux (autotools
would define HAS_SOCKLEN_t, cmake doesn't). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
#endif
|
||||
|
||||
// _SOCKLEN_T is used on OSX
|
||||
#if !defined(HAS_SOCKLEN_T) && !defined(_SOCKLEN_T)
|
||||
#if !defined(HAS_SOCKLEN_T) && !defined(_SOCKLEN_T) \
|
||||
&& !defined(__socklen_t_defined)
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user