Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
8f883369
Commit
8f883369
authored
Jun 08, 2020
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
package/win32: build.sh: only force win10 API's for UWP builds
The other UCRT builds might work in win7.
parent
dfa61b58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
extras/package/win32/build.sh
extras/package/win32/build.sh
+4
-2
No files found.
extras/package/win32/build.sh
View file @
8f883369
...
...
@@ -202,11 +202,11 @@ fi
if
[
!
-z
"
$BUILD_UCRT
"
]
;
then
WIDL
=
${
TRIPLET
}
-widl
CPPFLAGS
=
"
$CPPFLAGS
-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00
-D__MSVCRT_VERSION__=0xE00"
CPPFLAGS
=
"
$CPPFLAGS
-D__MSVCRT_VERSION__=0xE00"
if
[
!
-z
"
$WINSTORE
"
]
;
then
SHORTARCH
=
"
$SHORTARCH
-uwp"
CPPFLAGS
=
"
$CPPFLAGS
-DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_UNICODE -DUNICODE"
CPPFLAGS
=
"
$CPPFLAGS
-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00
-DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_UNICODE -DUNICODE"
# WinstoreCompat: hopefully can go away someday
LDFLAGS
=
"
$LDFLAGS
-lwindowsapp -lwinstorecompat"
...
...
@@ -216,6 +216,8 @@ if [ ! -z "$BUILD_UCRT" ]; then
EXTRA_CRUNTIME
=
"vcruntime140_app"
else
SHORTARCH
=
"
$SHORTARCH
-ucrt"
# The current minimum for VLC is Windows 7
CPPFLAGS
=
"
$CPPFLAGS
-D_WIN32_WINNT=0x0601 -DWINVER=0x0601"
# this library doesn't exist yet, so use ucrt twice as a placeholder
# EXTRA_CRUNTIME="vcruntime140"
EXTRA_CRUNTIME
=
"ucrt"
...
...
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