(svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration.

This commit is contained in:
michi_cc
2013-06-26 21:17:09 +00:00
parent 7c9f0545b4
commit 0150ab1bb2
2 changed files with 7 additions and 2 deletions

View File

@@ -77,4 +77,9 @@ typedef unsigned int NSUInteger;
#endif /* __LP64__ */
#endif /* NSInteger */
/* OS X SDK versions >= 10.5 have a non-const iconv. */
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
# define HAVE_NON_CONST_ICONV
#endif
#endif /* MACOS_STDAFX_H */