sdl: attempt to resolve ubuntu compile error

This commit is contained in:
punkrockguy318 2011-10-21 01:05:17 +00:00
parent 64bbb516f8
commit 79b3a337c9
1 changed files with 2 additions and 0 deletions

View File

@ -460,6 +460,7 @@ void FCEUI_SetDirOverride(int which, char *n)
}
}
#ifndef asprintf
#ifndef HAVE_ASPRINTF
static int asprintf(char **strp, const char *fmt, ...)
{
@ -474,6 +475,7 @@ void FCEUI_SetDirOverride(int which, char *n)
return(ret);
}
#endif
#endif
std::string FCEU_GetPath(int type)
{