Add minimal support for ARM to winebuild, just enough to get it to build and spew out spec files.

Hopefully it's not used for anything more cpu-specific thank that...


svn path=/trunk/; revision=41909
This commit is contained in:
ReactOS Portable Systems Group 2009-07-12 10:36:36 +00:00
parent c8f6ed5179
commit 6dc2e41228
3 changed files with 4 additions and 1 deletions

View file

@ -112,7 +112,7 @@ typedef struct
enum target_cpu enum target_cpu
{ {
CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC CPU_x86, CPU_x86_64, CPU_SPARC, CPU_ALPHA, CPU_POWERPC, CPU_ARM
}; };
enum target_platform enum target_platform

View file

@ -53,6 +53,8 @@ int force_pointer_size = 0;
enum target_cpu target_cpu = CPU_x86; enum target_cpu target_cpu = CPU_x86;
#elif defined(TARGET_amd64) #elif defined(TARGET_amd64)
enum target_cpu target_cpu = CPU_x86_64; enum target_cpu target_cpu = CPU_x86_64;
#elif defined (TARGET_arm)
enum target_cpu target_cpu = CPU_ARM;
#else #else
#error Unsupported CPU #error Unsupported CPU
#endif #endif

View file

@ -516,6 +516,7 @@ unsigned int get_ptr_size(void)
case CPU_POWERPC: case CPU_POWERPC:
case CPU_SPARC: case CPU_SPARC:
case CPU_ALPHA: case CPU_ALPHA:
case CPU_ARM:
return 4; return 4;
case CPU_x86_64: case CPU_x86_64:
return 8; return 8;