mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-03-18 18:02:45 +01:00
Get rid of PND_BUILD/RPI_BUILD/POLLUX_BUILD/GIZ_BUILD
This commit is contained in:
36
common.h
36
common.h
@@ -49,9 +49,6 @@
|
||||
#include <sys/time.h>
|
||||
#endif /* _WIN32_WCE */
|
||||
|
||||
#ifdef GIZ_BUILD
|
||||
#include "giz/giz.h"
|
||||
#endif
|
||||
#endif /* ARM_ARCH */
|
||||
|
||||
// Huge thanks to pollux for the heads up on using native file I/O
|
||||
@@ -140,21 +137,9 @@
|
||||
#define file_check_valid(filename_tag) \
|
||||
(filename_tag) \
|
||||
|
||||
#ifdef GP2X_BUILD
|
||||
|
||||
#define file_close(filename_tag) \
|
||||
{ \
|
||||
fclose(filename_tag); \
|
||||
sync(); \
|
||||
} \
|
||||
|
||||
#else
|
||||
|
||||
#define file_close(filename_tag) \
|
||||
fclose(filename_tag) \
|
||||
|
||||
#endif
|
||||
|
||||
#define file_read(filename_tag, buffer, size) \
|
||||
fread(buffer, 1, size, filename_tag) \
|
||||
|
||||
@@ -253,25 +238,4 @@ typedef u32 fixed8_24;
|
||||
//#define REGISTER_USAGE_ANALYZE
|
||||
#endif
|
||||
|
||||
#ifdef GP2X_BUILD
|
||||
#include <strings.h>
|
||||
#include "gp2x/gp2x.h"
|
||||
|
||||
#define printf(format, ...) \
|
||||
fprintf(stderr, format, ##__VA_ARGS__) \
|
||||
|
||||
#define vprintf(format, ap) \
|
||||
vfprintf(stderr, format, ap) \
|
||||
|
||||
// #define STDIO_DEBUG
|
||||
#endif
|
||||
|
||||
#ifdef PND_BUILD
|
||||
#include "pandora/pnd.h"
|
||||
#endif
|
||||
|
||||
#ifdef RPI_BUILD
|
||||
#include "raspberrypi/rpi.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user