mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
Two fixes to allow the project to compile on Raspberry Pi (#310)
* Add files via upload * Add files via upload * Update q_platform.h * Update debugging.h --------- Co-authored-by: Garux <garux@mail.ru>
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
#else
|
#else
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
|
|
||||||
#define DEBUGGER_BREAKPOINT() raise( SIGTRAP );
|
#define DEBUGGER_BREAKPOINT() ::raise( SIGTRAP ); // ::raise for Raspberry Pi
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define STR( x ) # x
|
#define STR( x ) # x
|
||||||
|
|||||||
@@ -208,6 +208,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||||||
#define ARCH_STRING "mips"
|
#define ARCH_STRING "mips"
|
||||||
#elif defined __sh__
|
#elif defined __sh__
|
||||||
#define ARCH_STRING "sh"
|
#define ARCH_STRING "sh"
|
||||||
|
#elif defined(__aarch64__) // for Raspberry Pi
|
||||||
|
#define ARCH_STRING "aarch64"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __x86_64__
|
#if defined __x86_64__
|
||||||
|
|||||||
Reference in New Issue
Block a user