Whoops, need both the header and the library! SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 11:30:54 +0000
branchSDL-1.2
changeset 42246637846f3f7f
parent 4223 63fd67e17705
child 4225 6c1d2039b6b4
Whoops, need both the header and the library!
include/SDL_stdinc.h
     1.1 --- a/include/SDL_stdinc.h	Mon Sep 21 11:14:36 2009 +0000
     1.2 +++ b/include/SDL_stdinc.h	Mon Sep 21 11:30:54 2009 +0000
     1.3 @@ -70,7 +70,7 @@
     1.4  #ifdef HAVE_CTYPE_H
     1.5  # include <ctype.h>
     1.6  #endif
     1.7 -#ifdef HAVE_ICONV_H
     1.8 +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
     1.9  # include <iconv.h>
    1.10  #endif
    1.11  
    1.12 @@ -583,7 +583,7 @@
    1.13  #define SDL_ICONV_EINVAL	(size_t)-4
    1.14  /*@}*/
    1.15  
    1.16 -#ifdef HAVE_ICONV_H
    1.17 +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
    1.18  #define SDL_iconv_t     iconv_t
    1.19  #define SDL_iconv_open  iconv_open
    1.20  #define SDL_iconv_close iconv_close