[Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv

This commit is contained in:
John Ralls 2012-02-24 17:04:52 -08:00
parent 462f7f5a4d
commit 47475dbe6a

View File

@ -61,7 +61,8 @@
#if defined(USE_LIBICONV_GNU) && !defined (_LIBICONV_H)
#error GNU libiconv in use but included iconv.h not from libiconv
#endif
#if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H)
#if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H) \
&& !defined (__APPLE_CC__) && !defined (__LP_64__)
#error GNU libiconv not in use but included iconv.h is from libiconv
#endif