(svn r4019) -Fix: [OSX] stopped using iconv for 10.2.8, since it was added in 10.3

this have the sideeffect that 10.2.8 will still have the "failure to save with certain chars in the filename bug", but at least it can compile again
This commit is contained in:
bjarni
2006-03-22 13:06:50 +00:00
parent adab6f6438
commit 0b102f0e00
6 changed files with 25 additions and 19 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)