HAVE_IMAGEVIEWER no longer has to be excluded for the C89/C90 build

This commit is contained in:
twinaphex 2016-06-21 06:59:31 +02:00
parent 80f2e11799
commit f7bd9a7843
4 changed files with 8 additions and 6 deletions

View File

@ -9,7 +9,9 @@
#include <file/file_path.h>
#include <compat/strl.h>
//#define HAVE_STB_IMAGE
#if 0
#define HAVE_STB_IMAGE
#endif
#ifdef HAVE_STB_IMAGE
#define STB_IMAGE_IMPLEMENTATION

View File

@ -40,7 +40,7 @@ enum file_path_enum
FILE_PATH_CORE_THUMBNAILS_URL,
FILE_PATH_INDEX_DIRS_URL,
FILE_PATH_INDEX_URL,
FILE_PATH_INDEX_EXTENDED_URL,
FILE_PATH_INDEX_EXTENDED_URL
};
enum application_special_type

View File

@ -55,6 +55,10 @@ static task_queue_t tasks_finished = {NULL, NULL};
static void task_queue_msg_push(unsigned prio, unsigned duration,
bool flush, const char *fmt, ...)
{
#ifdef RARCH_INTERNAL
extern void runloop_msg_queue_push(const char *msg, unsigned prio,
unsigned duration, bool flush);
#endif
char buf[1024];
va_list ap;
@ -66,8 +70,6 @@ static void task_queue_msg_push(unsigned prio, unsigned duration,
#ifdef RARCH_INTERNAL
/* TODO/FIXME - ugly */
extern void runloop_msg_queue_push(const char *msg, unsigned prio,
unsigned duration, bool flush);
runloop_msg_queue_push(buf, prio, duration, flush);
#endif
}

View File

@ -70,8 +70,6 @@ HAVE_7ZIP=yes # Compile in 7z support
HAVE_PRESERVE_DYLIB=no # Enable dlclose() for Valgrind support
HAVE_PARPORT=auto # Parallel port joypad support
HAVE_IMAGEVIEWER=yes # Built-in image viewer support.
C89_IMAGEVIEWER=no # stb_image hates C89
C90_IMAGEVIEWER=no # stb_image hates C90
HAVE_MMAP=auto # MMAP support
HAVE_QT=no # QT companion support
HAVE_XSHM=no # XShm video driver support (disabled because it's just a dummied out stub)