mirror of
https://github.com/libretro/vice-libretro.git
synced 2024-11-27 02:20:37 +00:00
Fix qnx support
This commit is contained in:
parent
6e318cf691
commit
263a93e1a9
1
Makefile
1
Makefile
@ -208,6 +208,7 @@ else ifeq ($(platform), qnx)
|
||||
CXX = QCC -Vgcc_ntoarmv7le_cpp
|
||||
AR = QCC -Vgcc_ntoarmv7le
|
||||
PLATFORM_DEFINES := -D__BLACKBERRY_QNX__ -fexceptions -marm -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
|
||||
CFLAGS += -std=gnu99
|
||||
|
||||
# ANDROID STANDALONE TOOLCHAIN
|
||||
else ifeq ($(platform), androidstc)
|
||||
|
@ -28,7 +28,9 @@
|
||||
// Compiler specifics.
|
||||
#define HAVE_BOOL 1
|
||||
#define HAVE_BUILTIN_EXPECT 1
|
||||
#ifndef __QNX__
|
||||
#define HAVE_LOG1P 1
|
||||
#endif
|
||||
|
||||
// Define bool, true, and false for C++ compilers that lack these keywords.
|
||||
#if !HAVE_BOOL
|
||||
|
@ -16,6 +16,10 @@
|
||||
#ifdef HAVE_MMINTRIN_H
|
||||
# include <mmintrin.h>
|
||||
#endif
|
||||
#ifdef __QNX__
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
@ -26,6 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "vice.h"
|
||||
|
||||
#ifdef _M_ARM
|
||||
|
Loading…
Reference in New Issue
Block a user