Make sure we have iconv.h before building with it
authorSam Lantinga <slouken@libsdl.org>
Mon, 10 Oct 2016 02:58:12 -0700
changeset 105049f8284fde4ea
parent 10503 6f9f7acc9d1e
child 10505 fd70d94948bc
Make sure we have iconv.h before building with it
src/stdlib/SDL_iconv.c
     1.1 --- a/src/stdlib/SDL_iconv.c	Sun Oct 09 20:31:32 2016 +0200
     1.2 +++ b/src/stdlib/SDL_iconv.c	Mon Oct 10 02:58:12 2016 -0700
     1.3 @@ -30,7 +30,7 @@
     1.4  #include "SDL_stdinc.h"
     1.5  #include "SDL_endian.h"
     1.6  
     1.7 -#ifdef HAVE_ICONV
     1.8 +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
     1.9  #include <iconv.h>
    1.10  
    1.11  /* Depending on which standard the iconv() was implemented with,