Alexandre Julliard : winebuild: Fix the definition of the CPU mask flag to take ARM into account.
Alexandre Julliard
julliard at winehq.org
Thu Nov 19 10:15:25 CST 2009
Module: wine
Branch: master
Commit: 7782ebea0102171be203a341a4e9154a17c0ad18
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7782ebea0102171be203a341a4e9154a17c0ad18
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 19 16:44:08 2009 +0100
winebuild: Fix the definition of the CPU mask flag to take ARM into account.
---
tools/winebuild/build.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/winebuild/build.h b/tools/winebuild/build.h
index 65163f3..e47278a 100644
--- a/tools/winebuild/build.h
+++ b/tools/winebuild/build.h
@@ -119,7 +119,7 @@ typedef struct
enum target_cpu
{
- CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC, CPU_ARM
+ CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC, CPU_ARM, CPU_LAST = CPU_ARM
};
enum target_platform
@@ -148,7 +148,7 @@ extern enum target_platform target_platform;
#define FLAG_EXT_LINK 0x200 /* function links to an external symbol */
#define FLAG_CPU(cpu) (0x01000 << (cpu))
-#define FLAG_CPU_MASK 0x1f000
+#define FLAG_CPU_MASK (FLAG_CPU(CPU_LAST + 1) - FLAG_CPU(0))
#define FLAG_CPU_WIN64 (FLAG_CPU(CPU_x86_64))
#define FLAG_CPU_WIN32 (FLAG_CPU_MASK & ~FLAG_CPU_WIN64)
More information about the wine-cvs
mailing list