summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authortwinaphex2014-07-14 04:50:52 +0200
committertwinaphex2014-07-14 04:50:52 +0200
commit093a70482f693c179e3646c512acf649ebcebc37 (patch)
treeeed00676d3a14cc5aad93bb7aaa500f778777aa8 /common.h
parent862e940b8c108fb0d29f9a1644be7a5360d7230d (diff)
downloadpicogpsp-093a70482f693c179e3646c512acf649ebcebc37.tar.gz
picogpsp-093a70482f693c179e3646c512acf649ebcebc37.tar.bz2
picogpsp-093a70482f693c179e3646c512acf649ebcebc37.zip
Get rid of PND_BUILD/RPI_BUILD/POLLUX_BUILD/GIZ_BUILD
Diffstat (limited to 'common.h')
-rw-r--r--common.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/common.h b/common.h
index fb7f31e..4314caa 100644
--- a/common.h
+++ b/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