]> git.sesse.net Git - vlc/commitdiff
DirectX: fix previous commit about WinRT
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 22 Apr 2013 22:15:50 +0000 (00:15 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 22 Apr 2013 22:15:50 +0000 (00:15 +0200)
modules/audio_output/directx.c

index 3da3452b766cea2186d762571d2c3dc1d0cc9069..04908ab5c8903d4e9fbbe6c8f06bff8e322ac87a 100644 (file)
@@ -612,7 +612,7 @@ static int InitDirectSound( audio_output_t *p_aout )
      * sound without any video, and so what window handle should we use ???
      * The hack for now is to use the Desktop window handle - it seems to be
      * working */
-#ifndef VLC_WINSTORE_APP
+#if !VLC_WINSTORE_APP
     if( IDirectSound_SetCooperativeLevel( p_aout->sys->p_dsobject,
                                           GetDesktopWindow(),
                                           DSSCL_EXCLUSIVE) )