From 9992cbd580ded5cd4188dde7249db8890fb400f6 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 13 Oct 2008 14:40:58 +0000 Subject: Surround conditionally used function with corresponding #ifdef, fixes: libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 1efe6308df..09d7e23de6 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -677,6 +677,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin return 0; } +#ifndef GL_WIN32 static int gl_handlekey(int key) { if(key=='a'||key=='A') { @@ -688,6 +689,7 @@ static int gl_handlekey(int key) } return 1; } +#endif static void check_events(void) { -- cgit v1.2.3