C89_BUILD fix

This commit is contained in:
twinaphex 2016-06-30 17:43:36 +02:00
parent 82a77279f3
commit 2119e4559d

View File

@ -84,6 +84,7 @@ void retro_main_log_file_deinit(void)
#if !defined(HAVE_LOGGER)
void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)
{
FILE *fp = NULL;
#if TARGET_OS_IPHONE
static int asl_inited = 0;
#if !TARGET_IPHONE_SIMULATOR
@ -134,9 +135,9 @@ static aslclient asl_client;
#else
#ifdef HAVE_FILE_LOGGER
FILE *fp = retro_main_log_file();
fp = retro_main_log_file();
#else
FILE *fp = stderr;
fp = stderr;
#endif
fprintf(fp, "%s %s :: ",
file_path_str(FILE_PATH_PROGRAM_NAME),