Commit 4e2bd548 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Make the is_win64 variable global.

parent 482a26e1
......@@ -114,8 +114,6 @@ static const BOOL use_preloader = TRUE;
static const BOOL use_preloader = FALSE;
#endif
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
static char *argv0;
static const char *bin_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_PERMANENT : 0);
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
static const char * const cpu_names[] = { "x86", "x86_64", "PowerPC", "ARM", "ARM64" };
static UINT process_error_mode;
......
......@@ -99,8 +99,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(server);
#define SOCKETNAME "socket" /* name of the socket file */
#define LOCKNAME "lock" /* name of the lock file */
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
static const char *server_dir;
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;
#endif
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
struct debug_info
{
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 pthread_mutex_t virtual_mutex;
static const BOOL is_win64 = (sizeof(void *) > sizeof(int));
static const UINT page_shift = 12;
static const UINT_PTR page_mask = 0xfff;
static const UINT_PTR granularity_mask = 0xffff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment