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
This commit is contained in:
diego 2008-10-13 14:40:58 +00:00
parent 1d5af8c0da
commit 9992cbd580
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{