Compile in nbio_stdio.c

This commit is contained in:
twinaphex 2015-02-16 06:25:45 +01:00
parent bde4b0738c
commit 07c56b4c0d
3 changed files with 9 additions and 5 deletions

View File

@ -100,6 +100,7 @@ OBJ += frontend/frontend.o \
libretro-sdk/file/dir_list.o \
libretro-sdk/string/string_list.o \
file_ops.o \
nbio/nbio_stdio.o \
libretro-sdk/file/file_path.o \
hash.o \
audio/audio_driver.o \

View File

@ -566,6 +566,7 @@ FILE
#include "../libretro-sdk/file/dir_list.c"
#include "../libretro-sdk/string/string_list.c"
#include "../file_ops.c"
#include "../nbio/nbio_stdio.c"
#include "../libretro-sdk/file/file_list.c"
/*============================================================

View File

@ -1,12 +1,14 @@
#include <stddef.h>
#include <boolean.h>
enum nbio_mode_t {
/* The comments tell which mode in fopen() it corresponds to. */
NBIO_READ = 0,/* rb */
NBIO_WRITE, /* wb */
NBIO_UPDATE, /* r+b */
enum nbio_mode_t
{
/* The comments tell which mode in fopen() it corresponds to. */
NBIO_READ = 0,/* rb */
NBIO_WRITE, /* wb */
NBIO_UPDATE, /* r+b */
};
struct nbio_t;
/*