[vlc-commits] commit: MSW: fix DisableScreensaver and RestoreScreensaver definitions ( Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Aug 15 01:32:10 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 15 01:29:50 2010 +0200| [6154d28dabf97571b5d1057e107761eb8c951aba] | committer: Jean-Baptiste Kempf 

MSW: fix DisableScreensaver and RestoreScreensaver definitions

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

 modules/video_output/msw/common.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index fddbd3d..414b93d 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -66,8 +66,10 @@
 static void CommonChangeThumbnailClip(vout_display_t *, bool show);
 static int CommonControlSetFullscreen(vout_display_t *, bool is_fullscreen);
 
+#if !defined(UNDER_CE) && !defined(MODULE_NAME_IS_glwin32)
 static void DisableScreensaver(vout_display_t *);
 static void RestoreScreensaver(vout_display_t *);
+#endif
 
 /* */
 int CommonInit(vout_display_t *vd)
@@ -686,7 +688,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
     }
 }
 
-#ifndef UNDER_CE
+#if !defined(UNDER_CE) && !defined(MODULE_NAME_IS_glwin32)
 static void DisableScreensaver(vout_display_t *vd)
 {
     vout_display_sys_t *sys = vd->sys;



More information about the vlc-commits mailing list