File: 09-arm-fix.patch

package info (click to toggle)
nvidia-texture-tools 2.0.8-1%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,312 kB
  • sloc: cpp: 22,495; ansic: 1,097; sh: 59; makefile: 10
file content (24 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (5)
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