Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ec9891fc
Commit
ec9891fc
authored
Feb 01, 2016
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Feb 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winstore: gai_strerrorA is forbidden so use our version from compat
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
0e1ae34c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
configure.ac
configure.ac
+1
-0
include/vlc_network.h
include/vlc_network.h
+4
-2
No files found.
configure.ac
View file @
ec9891fc
...
@@ -524,6 +524,7 @@ AS_IF([test "${SYS}" = "mingw32"],[
...
@@ -524,6 +524,7 @@ AS_IF([test "${SYS}" = "mingw32"],[
AS_IF([test "${enable_winstore_app}" = "yes"], [
AS_IF([test "${enable_winstore_app}" = "yes"], [
vlc_winstore_app=1
vlc_winstore_app=1
VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
AC_LIBOBJ([gai_strerror])
],[
],[
VLC_ADD_LIBS([libvlccore],[-lwinmm])
VLC_ADD_LIBS([libvlccore],[-lwinmm])
])
])
...
...
include/vlc_network.h
View file @
ec9891fc
...
@@ -198,8 +198,10 @@ VLC_API ssize_t net_vaPrintf( vlc_object_t *p_this, int fd, const char *psz_fmt,
...
@@ -198,8 +198,10 @@ VLC_API ssize_t net_vaPrintf( vlc_object_t *p_this, int fd, const char *psz_fmt,
#endif
#endif
#ifdef _WIN32
#ifdef _WIN32
# undef gai_strerror
# if !defined(WINAPI_FAMILY) || WINAPI_FAMILY != WINAPI_FAMILY_APP
# define gai_strerror gai_strerrorA
# undef gai_strerror
# define gai_strerror gai_strerrorA
# endif
#endif
#endif
#ifdef __OS2__
#ifdef __OS2__
...
...
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