]> git.sesse.net Git - vlc/commitdiff
wince: fix build of vouts
authorGeoffroy Couprie <geal@videolan.org>
Thu, 13 Aug 2009 16:28:12 +0000 (18:28 +0200)
committerGeoffroy Couprie <geal@videolan.org>
Thu, 13 Aug 2009 16:28:59 +0000 (18:28 +0200)
modules/video_output/msw/events.c
modules/video_output/msw/vout.h

index 9f0686b74041551dfcc44ef143e6e34f731bdc81..09718b6fe640d2cb402e5acae0f879f71ddfeb67 100644 (file)
@@ -1251,6 +1251,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
     var_SetBool( p_vout, "fullscreen", p_vout->b_fullscreen );
 }
 
+#ifndef UNDER_CE
 void DisableScreensaver( vout_thread_t *p_vout )
 {
     /* disable screensaver by temporarily changing system settings */
@@ -1294,6 +1295,7 @@ void RestoreScreensaver( vout_thread_t *p_vout )
             p_vout->p_sys->i_spi_screensavetimeout, NULL, 0);
     }
 }
+#endif
 
 int CreateEventThread( vout_thread_t *p_vout )
 {
index be29493e0f50a65169404e33460696082cfab1c4..f9118abfc1201efa9bd362db9561a29017bbe28c 100644 (file)
@@ -259,8 +259,10 @@ int DirectDrawUpdateOverlay( vout_thread_t *p_vout );
 void* EventThread ( vlc_object_t *p_this );
 void UpdateRects ( vout_thread_t *p_vout, bool b_force );
 void Win32ToggleFullscreen ( vout_thread_t *p_vout );
+#ifndef UNDER_CE
 void DisableScreensaver ( vout_thread_t *p_vout );
 void RestoreScreensaver ( vout_thread_t *p_vout );
+#endif
 int CreateEventThread( vout_thread_t *p_vout );
 void StopEventThread ( vout_thread_t *p_vout );