build fix

This commit is contained in:
p.kosyh 2010-09-07 17:08:17 +00:00
parent 623d6e931a
commit e22f80563f
2 changed files with 3 additions and 2 deletions

View file

@ -113,7 +113,8 @@ cat << EOF >/tmp/sdl-iconv.c
#include <SDL.h>
int main(int argc, char **argv)
{
#ifdef HAVE_ICONV
#if defined(HAVE_ICONV) && !defined(HAVE_ICONV_H)
SDL_iconv_open("","");
return 0;
#else
return 1;

View file

@ -4,7 +4,7 @@
#ifdef _HAVE_ICONV
#include <SDL_config.h>
#ifdef HAVE_ICONV
#if defined(HAVE_ICONV) && !defined(HAVE_ICONV_H)
#include <SDL_stdinc.h>
#define iconv SDL_iconv
#define iconv_t SDL_iconv_t