From 0150ab1bb24e351a566a98c107a57b4f25265a45 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Wed, 26 Jun 2013 21:17:09 +0000 Subject: (svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration. --- src/os/macosx/osx_stdafx.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h index 0017dc1c6..ad9c5220c 100644 --- a/src/os/macosx/osx_stdafx.h +++ b/src/os/macosx/osx_stdafx.h @@ -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 */ -- cgit v1.2.3-70-g09d2