mirror of
https://github.com/libretro/NP2kai.git
synced 2024-10-07 23:03:25 +00:00
replace libretro-common 29
This commit is contained in:
parent
cf420f7d0b
commit
d975b822fb
@ -728,7 +728,7 @@ SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/rthreads/xenon_sdl_thread
|
||||
endif
|
||||
|
||||
ifeq ($(platform), unix)
|
||||
SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/compat/compat_ifaddrs.c
|
||||
#SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/compat/compat_ifaddrs.c
|
||||
endif
|
||||
|
||||
ifeq ($(platform), windows_msvc2003_x86)
|
||||
|
@ -23,9 +23,10 @@
|
||||
/* THIS FILE HAS NOT BEEN VALIDATED ON PLATFORMS BESIDES MSVC */
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <retro_common.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800
|
||||
|
@ -424,10 +424,13 @@ rxml_document_t *rxml_load_document(const char *path)
|
||||
RFILE *file = filestream_open(path,
|
||||
RETRO_VFS_FILE_ACCESS_READ,
|
||||
RETRO_VFS_FILE_ACCESS_HINT_NONE);
|
||||
if (!file)
|
||||
return NULL;
|
||||
|
||||
rxml_document_t *doc = (rxml_document_t*)calloc(1, sizeof(*doc));
|
||||
|
||||
if (!file) {
|
||||
rxml_free_document(doc);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!doc)
|
||||
goto error;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user