build fix
This commit is contained in:
parent
623d6e931a
commit
e22f80563f
|
@ -113,7 +113,8 @@ cat << EOF >/tmp/sdl-iconv.c
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_ICONV
|
#if defined(HAVE_ICONV) && !defined(HAVE_ICONV_H)
|
||||||
|
SDL_iconv_open("","");
|
||||||
return 0;
|
return 0;
|
||||||
#else
|
#else
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#ifdef _HAVE_ICONV
|
#ifdef _HAVE_ICONV
|
||||||
#include <SDL_config.h>
|
#include <SDL_config.h>
|
||||||
|
|
||||||
#ifdef HAVE_ICONV
|
#if defined(HAVE_ICONV) && !defined(HAVE_ICONV_H)
|
||||||
#include <SDL_stdinc.h>
|
#include <SDL_stdinc.h>
|
||||||
#define iconv SDL_iconv
|
#define iconv SDL_iconv
|
||||||
#define iconv_t SDL_iconv_t
|
#define iconv_t SDL_iconv_t
|
||||||
|
|
Loading…
Reference in a new issue