Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4e2bd548
Commit
4e2bd548
authored
Mar 26, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make the is_win64 variable global.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
482a26e1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
7 deletions
+2
-7
loader.c
dlls/ntdll/unix/loader.c
+0
-2
process.c
dlls/ntdll/unix/process.c
+0
-2
server.c
dlls/ntdll/unix/server.c
+0
-2
unix_private.h
dlls/ntdll/unix/unix_private.h
+2
-0
virtual.c
dlls/ntdll/unix/virtual.c
+0
-1
No files found.
dlls/ntdll/unix/loader.c
View file @
4e2bd548
...
...
@@ -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
;
...
...
dlls/ntdll/unix/process.c
View file @
4e2bd548
...
...
@@ -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
;
...
...
dlls/ntdll/unix/server.c
View file @
4e2bd548
...
...
@@ -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
;
...
...
dlls/ntdll/unix/unix_private.h
View file @
4e2bd548
...
...
@@ -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 */
...
...
dlls/ntdll/unix/virtual.c
View file @
4e2bd548
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment