]> git.sesse.net Git - vlc/commitdiff
help: fix Windows Store build
authorRafaël Carré <funman@videolan.org>
Mon, 28 Oct 2013 05:28:37 +0000 (06:28 +0100)
committerRafaël Carré <funman@videolan.org>
Mon, 28 Oct 2013 05:28:37 +0000 (06:28 +0100)
src/config/help.c

index 9a9729b717e4a699be6a8838ea2bdb2566a33282..20e4f7cb6263e9f1530be8f20edbf1e320209bd3 100644 (file)
 #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);