(svn r4038) -backport (3966, 3972 and 4019) -Fix: [OSX 10.3 and newer] [ 1157244 ] Can't save game if name contains german umlauts (loading savegames with certain chars still look a bit odd)

This commit is contained in:
bjarni
2006-03-22 21:40:26 +00:00
parent 90feff4982
commit a9032183df
6 changed files with 80 additions and 10 deletions

View File

@@ -11,13 +11,10 @@
#ifdef ENABLE_NETWORK
#ifdef __APPLE__
#include <AvailabilityMacros.h>
#if (MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_2)
#if defined(__APPLE__) && (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)