ntdll: Make the is_win64 variable global.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
482a26e135
commit
4e2bd548b1
|
@ -114,8 +114,6 @@ static const BOOL use_preloader = TRUE;
|
||||||
static const BOOL use_preloader = FALSE;
|
static const BOOL use_preloader = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
|
|
||||||
|
|
||||||
static char *argv0;
|
static char *argv0;
|
||||||
static const char *bin_dir;
|
static const char *bin_dir;
|
||||||
static const char *dll_dir;
|
static const char *dll_dir;
|
||||||
|
|
|
@ -70,8 +70,6 @@ static ULONG execute_flags = MEM_EXECUTE_OPTION_DISABLE | (sizeof(void *) > size
|
||||||
MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION |
|
MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION |
|
||||||
MEM_EXECUTE_OPTION_PERMANENT : 0);
|
MEM_EXECUTE_OPTION_PERMANENT : 0);
|
||||||
|
|
||||||
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
|
|
||||||
|
|
||||||
static const char * const cpu_names[] = { "x86", "x86_64", "PowerPC", "ARM", "ARM64" };
|
static const char * const cpu_names[] = { "x86", "x86_64", "PowerPC", "ARM", "ARM64" };
|
||||||
|
|
||||||
static UINT process_error_mode;
|
static UINT process_error_mode;
|
||||||
|
|
|
@ -99,8 +99,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(server);
|
||||||
#define SOCKETNAME "socket" /* name of the socket file */
|
#define SOCKETNAME "socket" /* name of the socket file */
|
||||||
#define LOCKNAME "lock" /* name of the lock file */
|
#define LOCKNAME "lock" /* name of the lock file */
|
||||||
|
|
||||||
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
|
|
||||||
|
|
||||||
static const char *server_dir;
|
static const char *server_dir;
|
||||||
|
|
||||||
unsigned int server_cpus = 0;
|
unsigned int server_cpus = 0;
|
||||||
|
|
|
@ -41,6 +41,8 @@ static const enum cpu_type client_cpu = CPU_ARM64;
|
||||||
static const WORD current_machine = IMAGE_FILE_MACHINE_ARM64;
|
static const WORD current_machine = IMAGE_FILE_MACHINE_ARM64;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
|
||||||
|
|
||||||
struct debug_info
|
struct debug_info
|
||||||
{
|
{
|
||||||
unsigned int str_pos; /* current position in strings buffer */
|
unsigned int str_pos; /* current position in strings buffer */
|
||||||
|
|
|
@ -141,7 +141,6 @@ static const BYTE VIRTUAL_Win32Flags[16] =
|
||||||
static struct wine_rb_tree views_tree;
|
static struct wine_rb_tree views_tree;
|
||||||
static pthread_mutex_t virtual_mutex;
|
static pthread_mutex_t virtual_mutex;
|
||||||
|
|
||||||
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
|
|
||||||
static const UINT page_shift = 12;
|
static const UINT page_shift = 12;
|
||||||
static const UINT_PTR page_mask = 0xfff;
|
static const UINT_PTR page_mask = 0xfff;
|
||||||
static const UINT_PTR granularity_mask = 0xffff;
|
static const UINT_PTR granularity_mask = 0xffff;
|
||||||
|
|
Loading…
Reference in New Issue