changeset 27720:66d7ea3f5a78

Surround conditionally used function with corresponding #ifdef, fixes: libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used
author diego
date Mon, 13 Oct 2008 14:40:58 +0000
parents d611a8a200d5
children ed6ee2ef3b53
files libvo/vo_gl2.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl2.c	Mon Oct 13 14:38:36 2008 +0000
+++ b/libvo/vo_gl2.c	Mon Oct 13 14:40:58 2008 +0000
@@ -677,6 +677,7 @@
   return 0;
 }
 
+#ifndef GL_WIN32
 static int gl_handlekey(int key)
 {
   if(key=='a'||key=='A') {
@@ -688,6 +689,7 @@
   }
   return 1;
 }
+#endif
 
 static void check_events(void)
 {