# HG changeset patch # User Sam Lantinga # Date 1253531041 0 # Node ID 470d0a416aa7f22587341ed8dae23480210a10f5 # Parent 0d60bdebed39501247b76ffea5f4d30110cb739b Fixed bug #714 fuzzyTew@gmail.com 2009-03-14 15:18:45 PDT patch to change HAVE_ICONV to HAVE_ICONV_H There are two separate iconv checks in configure -- one for the header file and one for the library. include/SDL_stdinc.h uses the library define to see whether or not it should reference the types defined in the header, which naturally breaks if the library exists and the header does not. diff -r 0d60bdebed39 -r 470d0a416aa7 include/SDL_stdinc.h --- a/include/SDL_stdinc.h Mon Sep 21 10:23:19 2009 +0000 +++ b/include/SDL_stdinc.h Mon Sep 21 11:04:01 2009 +0000 @@ -735,7 +735,7 @@ #define SDL_ICONV_EILSEQ (size_t)-3 #define SDL_ICONV_EINVAL (size_t)-4 -#ifdef HAVE_ICONV +#ifdef HAVE_ICONV_H #define SDL_iconv_t iconv_t #define SDL_iconv_open iconv_open #define SDL_iconv_close iconv_close