build fix
This commit is contained in:
parent
623d6e931a
commit
e22f80563f
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue