[vlc-commits] Win32: cleaner ifdef for Winstore

Jean-Baptiste Kempf git at videolan.org
Fri Feb 5 18:32:18 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb  5 18:19:47 2016 +0100| [d82bfa86393e91d1dc22ad11efd67aa2acbbcd24] | committer: Jean-Baptiste Kempf

Win32: cleaner ifdef for Winstore

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d82bfa86393e91d1dc22ad11efd67aa2acbbcd24
---

 include/vlc_network.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_network.h b/include/vlc_network.h
index eb5d2d6..bfb4274 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -198,7 +198,7 @@ VLC_API ssize_t net_vaPrintf( vlc_object_t *p_this, int fd, const char *psz_fmt,
 #endif
 
 #ifdef _WIN32
-# if !VLC_WINSTORE_APP
+# if !defined(WINAPI_FAMILY) || WINAPI_FAMILY != WINAPI_FAMILY_APP
 #  undef gai_strerror
 #  define gai_strerror gai_strerrorA
 # endif



More information about the vlc-commits mailing list