projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
462f7f5
)
[Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv
author
John Ralls
<jralls@ceridwen.us>
Sat, 25 Feb 2012 01:04:52 +0000
(17:04 -0800)
committer
John Ralls
<jralls@ceridwen.us>
Sat, 25 Feb 2012 01:04:52 +0000
(17:04 -0800)
glib/gconvert.c
patch
|
blob
|
history
diff --git
a/glib/gconvert.c
b/glib/gconvert.c
index
517b7b4
..
3b2d396
100644
(file)
--- a/
glib/gconvert.c
+++ b/
glib/gconvert.c
@@
-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