diff --git a/README.html b/README.html
index a4b383d6c..07f6c62da 100644
--- a/README.html
+++ b/README.html
@@ -1031,10 +1031,6 @@
orx is being compiled for Android Native |
-__orxRASPBERRY_PI__ |
-orx is being compiled for Raspberry Pi |
-
-
__orxCPP__ |
orx is being compiled with a C++ compiler |
diff --git a/README.md b/README.md
index 57aca12c9..f292b25ed 100644
--- a/README.md
+++ b/README.md
@@ -223,7 +223,6 @@ for which you're compiling. Here's a quick list of these flags:
`__orxIOS__` | orx is being compiled for iOS
`__orxANDROID__` | orx is being compiled for Android
`__orxANDROID_NATIVE__` | orx is being compiled for Android Native
- `__orxRASPBERRY_PI__` | orx is being compiled for Raspberry Pi
`__orxCPP__` | orx is being compiled with a C++ compiler
`__orxOBJC__` | orx is being compiled with an Objective-C compiler
`__orxFREEBASIC__` | orx is being compiled for FreeBasic, WIP
diff --git a/code/include/base/orxDecl.h b/code/include/base/orxDecl.h
index ca1494d8d..2528f5ee5 100644
--- a/code/include/base/orxDecl.h
+++ b/code/include/base/orxDecl.h
@@ -180,7 +180,7 @@
#endif /* __orxX86_64__ || __orxPPC64__ || __orxARM64__ */
/* No platform defines? */
-#if !defined(__orxWINDOWS__) && !defined(__orxMAC__) && !defined(__orxLINUX__) && !defined(__orxIOS__) && !defined(__orxANDROID__) && !defined(__orxANDROID_NATIVE__)&& !defined(__orxRASPBERRY_PI__)
+#if !defined(__orxWINDOWS__) && !defined(__orxMAC__) && !defined(__orxLINUX__) && !defined(__orxIOS__) && !defined(__orxANDROID__) && !defined(__orxANDROID_NATIVE__)
/* Windows? */
#if defined(_WIN32) || defined(WIN32)
@@ -202,11 +202,6 @@
#define __orxANDROID_NATIVE__
- /* Raspberry Pi */
- #elif defined(__orxARM__)
-
- #define __orxRASPBERRY_PI__
-
/* Linux? */
#elif defined(linux) || defined(__linux__)
@@ -221,11 +216,11 @@
#else
- #error "Couldn't guess platform define. Please provide it (__orxWINDOWS__/__orxMAC__/__orxLINUX__/__orxIOS__/__orxANDROID__/__orxANDROID_NATIVE__/__orxRASPBERRY_PI__)"
+ #error "Couldn't guess platform define. Please provide it (__orxWINDOWS__/__orxMAC__/__orxLINUX__/__orxIOS__/__orxANDROID__/__orxANDROID_NATIVE__)"
#endif
-#endif /* !__orxWINDOWS__ && !__orxMAC__ && !__orxLINUX__ && !__orxIOS__ && !__orxANDROID__ && !__orxANDROID_NATIVE__ && !__orxRASPBERRY_PI__ */
+#endif /* !__orxWINDOWS__ && !__orxMAC__ && !__orxLINUX__ && !__orxIOS__ && !__orxANDROID__ && !__orxANDROID_NATIVE__ */
#ifdef __cplusplus
@@ -305,7 +300,7 @@
/* Linux / Mac / iOS / Android */
#if defined(__orxLINUX__) || defined(__orxMAC__) || defined(__orxIOS__) || defined(__orxANDROID__) || defined(__orxANDROID_NATIVE__)
- #if defined(__orxARM__) || defined(__orxLLVM__) || defined(__orxPPC__) || defined(__orxPPC64__) || defined(__orxX86_64__) || defined(__orxIOS__) || defined(__orxANDROID__) || defined(__orxANDROID_NATIVE__) || defined(__orxRASPBERRY_PI__) || defined(__orxARM64__)
+ #if defined(__orxARM__) || defined(__orxLLVM__) || defined(__orxPPC__) || defined(__orxPPC64__) || defined(__orxX86_64__) || defined(__orxIOS__) || defined(__orxANDROID__) || defined(__orxANDROID_NATIVE__) || defined(__orxARM64__)
#define orxFASTCALL
@@ -313,7 +308,7 @@
#define orxCDECL
- #else /* __orxARM__ || __orxLLVM__ || __orxPPC__ || __orxPPC64__ || __orxX86_64__ || __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ || __orxRASPBERRY_PI__ || __orxARM64__ */
+ #else /* __orxARM__ || __orxLLVM__ || __orxPPC__ || __orxPPC64__ || __orxX86_64__ || __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ || __orxARM64__ */
#ifdef __orxFREEBASIC__
@@ -329,7 +324,7 @@
#define orxCDECL __attribute__ ((cdecl))
- #endif /* __orxARM__ || __orxLLVM__ || __orxPPC__ || __orxPPC64__ || __orxX86_64__ || __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ || __orxRASPBERRY_PI__ || __orxARM64__ */
+ #endif /* __orxARM__ || __orxLLVM__ || __orxPPC__ || __orxPPC64__ || __orxX86_64__ || __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ || __orxARM64__ */
/** The symbol will be exported (dll compilation) */
#define orxDLLEXPORT __attribute__ ((visibility("default")))
@@ -352,17 +347,17 @@
/** The null address */
#define orxNULL (0)
- #if defined(__orxIOS__) || defined(__orxANDROID__) || defined(__orxANDROID_NATIVE__) || defined(__orxRASPBERRY_PI__)
+ #if defined(__orxIOS__) || defined(__orxANDROID__) || defined(__orxANDROID_NATIVE__)
/* iOS versions can only be embedded due to the lack of dlfcn presence */
#define __orxEMBEDDED__
- /* always use static on iOS, Android and Raspberry */
+ /* Always use static on iOS and Android */
#define __orxSTATIC__
- #endif /* __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ || __orxRASPBERRY_PI__ */
+ #endif /* __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ */
- #endif /* __orxLINUX__ || __orxMAC__ || __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ || __orxRASPBERRY_PI__ */
+ #endif /* __orxLINUX__ || __orxMAC__ || __orxIOS__ || __orxANDROID__ || __orxANDROID_NATIVE__ */
#endif /* __orxWINDOWS__ */
diff --git a/code/src/core/orxThread.c b/code/src/core/orxThread.c
index c0b7b2c55..e9a607527 100644
--- a/code/src/core/orxThread.c
+++ b/code/src/core/orxThread.c
@@ -50,11 +50,11 @@
#include
#include
- #if defined(__orxLINUX__) || defined(__orxRASPBERRY_PI__)
+ #if defined(__orxLINUX__)
#include
- #endif /* __orxLINUX__ || __orxRASPBERRY_PI__ */
+ #endif /* __orxLINUX__ */
#if defined (__orxANDROID__) || defined(__orxANDROID_NATIVE__)
@@ -341,7 +341,7 @@ orxSTATUS orxFASTCALL orxThread_Init()
sstThread.astThreadInfoList[orxTHREAD_KU32_MAIN_THREAD_ID].hThread = pthread_self();
sstThread.astThreadInfoList[orxTHREAD_KU32_MAIN_THREAD_ID].u32Flags = orxTHREAD_KU32_INFO_FLAG_INITIALIZED;
- #if defined(__orxLINUX__) || defined(__orxRASPBERRY_PI__)
+ #if defined(__orxLINUX__)
{
cpu_set_t stSet;
@@ -354,7 +354,7 @@ orxSTATUS orxFASTCALL orxThread_Init()
pthread_setaffinity_np(sstThread.astThreadInfoList[orxTHREAD_KU32_MAIN_THREAD_ID].hThread, sizeof(cpu_set_t), &stSet);
}
- #endif /* __orxLINUX__ || __orxRASPBERRY_PI__ */
+ #endif /* __orxLINUX__ */
#endif /* __orxWINDOWS__ */
diff --git a/code/src/io/orxFile.c b/code/src/io/orxFile.c
index 9e44b253c..32cd87b53 100644
--- a/code/src/io/orxFile.c
+++ b/code/src/io/orxFile.c
@@ -89,7 +89,7 @@
*/
#define orxFILE_KU32_BUFFER_SIZE 512 /**< Buffer size */
-#if defined(__orxLINUX__) || defined(__orxRASPBERRY_PI__)
+#if defined(__orxLINUX__)
#define orxFILE_KZ_APPLICATION_FOLDER ".local/share"
@@ -314,7 +314,7 @@ const orxSTRING orxFASTCALL orxFile_GetHomeDirectory(const orxSTRING _zSubPath)
}
}
-#elif defined(__orxLINUX__) || defined(__orxMAC__) || defined(__orxRASPBERRY_PI__)
+#elif defined(__orxLINUX__) || defined(__orxMAC__)
{
const orxCHAR *zHome;
@@ -400,7 +400,7 @@ const orxSTRING orxFASTCALL orxFile_GetApplicationSaveDirectory(const orxSTRING
}
}
-#elif defined(__orxLINUX__) || defined(__orxMAC__) || defined(__orxRASPBERRY_PI__)
+#elif defined(__orxLINUX__) || defined(__orxMAC__)
{
const orxCHAR *zHome;