From f55e9f86591840ea8bf0a0cd25d0126c9a4e6c9d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 21 Sep 2009 11:30:54 +0000 Subject: [PATCH] Whoops, need both the header and the library! --- include/SDL_stdinc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 9862249a6..9f4fc85fb 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -70,7 +70,7 @@ #ifdef HAVE_CTYPE_H # include #endif -#ifdef HAVE_ICONV_H +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) # include #endif @@ -583,7 +583,7 @@ extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, const char #define SDL_ICONV_EINVAL (size_t)-4 /*@}*/ -#ifdef HAVE_ICONV_H +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) #define SDL_iconv_t iconv_t #define SDL_iconv_open iconv_open #define SDL_iconv_close iconv_close