mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
(svn r4045) -Fix: [OSX] fixed header issue
This commit is contained in:
+4
-1
@@ -11,10 +11,13 @@
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2)
|
||||
#if defined(__APPLE__)
|
||||
#include <AvailabilityMacros.h>
|
||||
#if (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2)
|
||||
// OSX 10.2 don't have socklen_t defined, so we will define it here
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Windows stuff
|
||||
#if defined(WIN32) || defined(WIN64)
|
||||
|
||||
Reference in New Issue
Block a user