Define HAVE_STDIO_H.

SDL can operate without stdio.h, but Lime requires it in most cases.
This commit is contained in:
Joseph Cloutier
2022-05-19 18:21:48 -04:00
parent d21847e65c
commit 19eab56416
2 changed files with 3 additions and 0 deletions

View File

@@ -578,6 +578,8 @@ namespace lime {
{
#ifdef HAVE_STDIO_H
return ((SDL_RWops*)handle)->hidden.stdio.fp;
#else
#error Lime requires HAVE_STDIO_H
#endif
}
case SDL_RWOPS_JNIFILE: