Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b51aab91
Commit
b51aab91
authored
Apr 26, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Get the builtins list from the architecture-specific PE directory.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
717e394a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
libraries.c
programs/winecfg/libraries.c
+14
-0
No files found.
programs/winecfg/libraries.c
View file @
b51aab91
...
...
@@ -43,6 +43,18 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winecfg
);
#ifdef __i386__
static
const
char
pe_dir
[]
=
"
\\
i386-windows"
;
#elif defined __x86_64__
static
const
char
pe_dir
[]
=
"
\\
x86_64-windows"
;
#elif defined __arm__
static
const
char
pe_dir
[]
=
"
\\
arm-windows"
;
#elif defined __aarch64__
static
const
char
pe_dir
[]
=
"
\\
aarch64-windows"
;
#else
static
const
char
pe_dir
[]
=
""
;
#endif
/* dlls that shouldn't be configured anything other than builtin; list must be sorted*/
static
const
char
*
const
builtin_only
[]
=
{
...
...
@@ -332,6 +344,8 @@ static void load_library_list( HWND dialog )
sprintf
(
var
,
"WINEDLLDIR%u"
,
i
++
);
if
(
!
GetEnvironmentVariableA
(
var
,
path
,
MAX_PATH
))
break
;
load_library_list_from_dir
(
dialog
,
path
,
FALSE
);
strcat
(
path
,
pe_dir
);
load_library_list_from_dir
(
dialog
,
path
,
FALSE
);
}
/* get rid of duplicate entries */
...
...
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