Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c63b76b3
Commit
c63b76b3
authored
Aug 21, 2011
by
Rémi Denis-Courmont
Browse files
Ignore D2D headers if they do not work in plain C
This must be a bug in the SDK, so better ignore the header.
parent
31bd28e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
c63b76b3
...
...
@@ -3353,14 +3353,12 @@ AC_ARG_ENABLE(direct2d,
])
])
AS_IF([test "${enable_direct2d}" != "no"], [
AC_LANG_PUSH([C++])
AC_CHECK_HEADERS(d2d1.h, [
VLC_ADD_PLUGIN([direct2d])
VLC_ADD_LIBS([direct2d],[-lgdi32 -lole32])
], [
AC_MSG_WARN([Cannot find Direct2D headers!])
])
AC_LANG_POP([C++])
])
dnl
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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