Mercurial > sdl-ios-xcode
changeset 4222:6823a52d06fa SDL-1.2
Fixed bug #714
fuzzyTew@gmail.com 2009-03-14 15:18:45 PDT
Created an attachment (id=305) [details]
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 11:04:32 +0000 |
parents | c56391324e59 |
children | 63fd67e17705 |
files | include/SDL_stdinc.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/include/SDL_stdinc.h Mon Sep 21 10:23:07 2009 +0000 +++ b/include/SDL_stdinc.h Mon Sep 21 11:04:32 2009 +0000 @@ -583,7 +583,7 @@ #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