[vlc-commits] help: fix Windows Store build

Rafaël Carré git at videolan.org
Mon Oct 28 06:29:10 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Oct 28 06:28:37 2013 +0100| [f7905c0bc9e2dd96f44e432e8e21fa4b86eda22d] | committer: Rafaël Carré

help: fix Windows Store build

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

 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 9a9729b..20e4f7c 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);



More information about the vlc-commits mailing list