This file is part of mingw-cross-env. See doc/index.html for further information. This patch has been taken from: http://mail.gnome.org/archives/gtk-list/2009-August/msg00146.html diff -urN glib-2.25.17.orig/glib/gconvert.c glib-2.25.17/glib/gconvert.c --- glib-2.25.17.orig/glib/gconvert.c 2010-09-14 01:57:51.000000000 +1000 +++ glib-2.25.17/glib/gconvert.c 2010-09-27 22:51:58.000000000 +1000 @@ -61,7 +61,7 @@ #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__) #error GNU libiconv not in use but included iconv.h is from libiconv #endif