summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authortwinaphex2014-12-10 01:30:02 +0100
committertwinaphex2014-12-10 01:30:02 +0100
commit4a2ab23f770676b2e34ca6aa79da8700251aa4d5 (patch)
tree525b8cc3ba00e806850e3b89f545c315b873d552 /common.h
parent1a8b77c1850db3fb4545c55adb07dbf1e7584dbf (diff)
downloadpicogpsp-4a2ab23f770676b2e34ca6aa79da8700251aa4d5.tar.gz
picogpsp-4a2ab23f770676b2e34ca6aa79da8700251aa4d5.tar.bz2
picogpsp-4a2ab23f770676b2e34ca6aa79da8700251aa4d5.zip
Take out SDL defines in common.h
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/common.h b/common.h
index 65fd01a..5c91519 100644
--- a/common.h
+++ b/common.h
@@ -31,7 +31,6 @@
#define PATH_SEPARATOR_CHAR '/'
#endif
-// These includes must be used before SDL is included.
#ifdef ARM_ARCH
#define _BSD_SOURCE // sync
@@ -111,9 +110,6 @@
#define GBA_SCREEN_PITCH (240)
void switch_to_main_thread(void);
-
-#else
- #include "SDL.h"
#endif
#ifdef ARM_ARCH
@@ -220,9 +216,6 @@ typedef u32 fixed8_24;
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
-#ifndef __LIBRETRO__
-#include "SDL.h"
-#endif
#include "cpu.h"
#include "gba_memory.h"
#include "video.h"