[vlc-commits] include/vlc_vout_display.h: declare vout_display_SendWindowState() on OS/2
KO Myung-Hun
git at videolan.org
Fri Jul 21 13:08:14 CEST 2017
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Fri Jul 21 08:18:38 2017 +0900| [df12843961bd7abc4743aff709f05419fa7dbbae] | committer: Jean-Baptiste Kempf
include/vlc_vout_display.h: declare vout_display_SendWindowState() on OS/2
-----
CC video_output/video_output.lo
video_output/video_output.c: In function 'ThreadChangeWindowState':
video_output/video_output.c:1298:9: error: implicit declaration of function 'vout_display_SendWindowState' [-Werror=implicit-function-declaration]
vout_display_SendWindowState(vout->p->display.vd, state);
^
cc1: some warnings being treated as errors
-----
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df12843961bd7abc4743aff709f05419fa7dbbae
---
include/vlc_vout_display.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
index 5cbd51481c..39dbfb95fb 100644
--- a/include/vlc_vout_display.h
+++ b/include/vlc_vout_display.h
@@ -367,7 +367,7 @@ static inline void vout_display_SendEventFullscreen(vout_display_t *vd, bool is_
{
vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_FULLSCREEN, is_fullscreen, is_window_fullscreen);
}
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__OS2__)
static inline void vout_display_SendWindowState(vout_display_t *vd, unsigned state)
{
vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_WINDOW_STATE, state);
More information about the vlc-commits
mailing list