1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Title: Fix build on arm
DEP: 3
Last-Update: 2013-09-06
From: NVTT SVN r1173 ( https://code.google.com/p/nvidia-texture-tools/source/detail?r=1173 )
--- a/src/nvcore/nvcore.h
+++ b/src/nvcore/nvcore.h
@@ -67,6 +67,7 @@
// NV_CPU_X86
// NV_CPU_X86_64
// NV_CPU_PPC
+// NV_CPU_ARM
#define NV_CPU_STRING POSH_CPU_STRING
@@ -76,6 +77,8 @@
# define NV_CPU_X86 1
#elif defined POSH_CPU_PPC
# define NV_CPU_PPC 1
+#elif defined POSH_CPU_STRONGARM
+# define NV_CPU_ARM 1
#else
# error "Unsupported CPU"
#endif
|