changeset 4224:6637846f3f7f SDL-1.2

Whoops, need both the header and the library!
author Sam Lantinga <slouken@libsdl.org>
date Mon, 21 Sep 2009 11:30:54 +0000
parents 63fd67e17705
children 6c1d2039b6b4
files include/SDL_stdinc.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_stdinc.h	Mon Sep 21 11:14:36 2009 +0000
+++ b/include/SDL_stdinc.h	Mon Sep 21 11:30:54 2009 +0000
@@ -70,7 +70,7 @@
 #ifdef HAVE_CTYPE_H
 # include <ctype.h>
 #endif
-#ifdef HAVE_ICONV_H
+#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
 # include <iconv.h>
 #endif
 
@@ -583,7 +583,7 @@
 #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