From f7905c0bc9e2dd96f44e432e8e21fa4b86eda22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org> Date: Mon, 28 Oct 2013 06:28:37 +0100 Subject: [PATCH] help: fix Windows Store build --- src/config/help.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/config/help.c b/src/config/help.c index 9a9729b717e4..20e4f7cb6263 100644 --- a/src/config/help.c +++ b/src/config/help.c @@ -35,19 +35,23 @@ #include "config/configuration.h" #include "libvlc.h" -#if defined( _WIN32 ) && !VLC_WINSTORE_APP +#if defined( _WIN32 ) # include <vlc_charset.h> -static void ShowConsole (void); -static void PauseConsole (void); # define wcwidth(cp) (cp, 1) /* LOL */ #else -# define ShowConsole() (void)0 -# define PauseConsole() (void)0 # include <unistd.h> # include <termios.h> # include <sys/ioctl.h> #endif +#if defined( _WIN32 ) && !VLC_WINSTORE_APP +static void ShowConsole (void); +static void PauseConsole (void); +#else +# define ShowConsole() (void)0 +# define PauseConsole() (void)0 +#endif + static void Help (vlc_object_t *, const char *); static void Usage (vlc_object_t *, const char *); static void Version (void); -- GitLab