equal
deleted
inserted
replaced
9 #include <mach/host_info.h> |
9 #include <mach/host_info.h> |
10 #include <mach/machine.h> |
10 #include <mach/machine.h> |
11 #include <stdio.h> |
11 #include <stdio.h> |
12 #include "../../stdafx.h" |
12 #include "../../stdafx.h" |
13 #include "../../core/bitmath_func.hpp" |
13 #include "../../core/bitmath_func.hpp" |
|
14 #include "../../rev.h" |
14 |
15 |
15 #ifndef CPU_SUBTYPE_POWERPC_970 |
16 #ifndef CPU_SUBTYPE_POWERPC_970 |
16 #define CPU_SUBTYPE_POWERPC_970 ((cpu_subtype_t) 100) |
17 #define CPU_SUBTYPE_POWERPC_970 ((cpu_subtype_t) 100) |
17 #endif |
18 #endif |
18 |
19 |
31 static char buffer[175]; |
32 static char buffer[175]; |
32 const char* CPU; |
33 const char* CPU; |
33 char OS[20]; |
34 char OS[20]; |
34 char newgrf[125]; |
35 char newgrf[125]; |
35 long sysVersion; |
36 long sysVersion; |
36 extern const char _openttd_revision[]; |
|
37 |
37 |
38 // get the hardware info |
38 // get the hardware info |
39 host_basic_info_data_t hostInfo; |
39 host_basic_info_data_t hostInfo; |
40 mach_msg_type_number_t infoCount; |
40 mach_msg_type_number_t infoCount; |
41 |
41 |