Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
2e28e6d3
Commit
2e28e6d3
authored
Aug 29, 2016
by
Hugo Beauzée-Luyssen
Browse files
configure.ac: Only enforce WIN32_WINNT when it's missing
parent
14153558
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
2e28e6d3
...
...
@@ -6,9 +6,6 @@ AM_CPPFLAGS = -Wall -Wsign-compare -Wextra -Wstrict-aliasing -Wstrict-overflow \
-pipe
MEDIALIB_CPPFLAGS
=
$(AM_CPPFLAGS)
-I
$(top_srcdir)
/include
-I
$(top_srcdir)
/src
if
HAVE_WIN32
MEDIALIB_CPPFLAGS
+=
-D_WIN32_WINNT
=
0x600
endif
libmedialibrary_ladir
=
$(includedir)
/medialibrary
...
...
configure.ac
View file @
2e28e6d3
...
...
@@ -265,6 +265,12 @@ AS_IF([test "$SYS" = linux],[
])
AM_CONDITIONAL(HAVE_ANDROID, test "${HAVE_ANDROID}" = "1")
AS_IF([test "$SYS" = mingw32],[
AC_CHECK_DECL(_WIN32_WINNT,,
AC_DEFINE([_WIN32_WINNT], 0x600, [Enforce a specific windows SDK version])
)
])
PKG_CHECK_MODULES(SQLITE, sqlite3)
PKG_CHECK_MODULES(VLC, libvlc >= 3.0)
PKG_CHECK_MODULES(VLCPP, libvlcpp,
...
...
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