From c503b242adbe1740665552e85c118e49f49b611d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 21 Sep 2009 11:31:28 +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 6eb95f136..7ef8a3e3a 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -75,7 +75,7 @@ #ifdef HAVE_MATH_H # include #endif -#ifdef HAVE_ICONV_H +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) # include #endif @@ -735,7 +735,7 @@ extern DECLSPEC double SDLCALL SDL_sqrt(double x); #define SDL_ICONV_EILSEQ (size_t)-3 #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