Move responsibility for defining NO_VM_COMPILED from build system to q_platform.h
This commit is contained in:
1 parent
858ccc928c
commit
0912659484
3 files changed
+5
-11
No files matched your search
@@ -155,10 +155,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#elif defined __aarch64__
|
||||
#define ARCH_STRING "arm64"
|
||||
#define Q3_LITTLE_ENDIAN
|
||||
#ifndef NO_VM_COMPILED
|
||||
#define NO_VM_COMPILED
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define DLL_EXT ".dylib"
|
||||
|
||||
@@ -188,6 +186,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
# define ARCH_STRING "x86"
|
||||
#elif defined(__aarch64__)
|
||||
# define ARCH_STRING "arm64"
|
||||
# define NO_VM_COMPILED
|
||||
#elif defined(__arm__)
|
||||
# define ARCH_STRING "arm"
|
||||
#elif defined(__powerpc64__) || defined(__ppc64__)
|
||||
@@ -196,8 +195,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
# define ARCH_STRING "ppc"
|
||||
#elif defined(__alpha__)
|
||||
# define ARCH_STRING "alpha"
|
||||
#else
|
||||
# error Unknown or unsupported architecture
|
||||
# define NO_VM_COMPILED
|
||||
#endif
|
||||
|
||||
#if defined __x86_64__
|
||||
@@ -245,6 +243,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#define ARCH_STRING "x86_64"
|
||||
#elif defined __axp__
|
||||
#define ARCH_STRING "alpha"
|
||||
#define NO_VM_COMPILED
|
||||
#endif
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
@@ -293,6 +292,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#define PATH_SEP '/'
|
||||
|
||||
#define ARCH_STRING "mips"
|
||||
#define NO_VM_COMPILED
|
||||
|
||||
#define Q3_BIG_ENDIAN // SGI's MIPS are always big endian
|
||||
|
||||
@@ -309,6 +309,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#define PATH_SEP '/'
|
||||
|
||||
#define ARCH_STRING "wasm32"
|
||||
#define NO_VM_COMPILED
|
||||
|
||||
#define Q3_LITTLE_ENDIAN
|
||||
|
||||
|
||||
Reference in new issue
Block a user