summaryrefslogtreecommitdiffstats
path: root/libvo/osx_common.c
diff options
context:
space:
mode:
authorsiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-23 10:22:44 +0000
committersiretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-23 10:22:44 +0000
commit9cef48bac77cbeefe7dade7cb38fb3a00a16733a (patch)
tree518cfb1bb7c56ae9a0e96369014425927a7bf8d9 /libvo/osx_common.c
parent8bd8aba37a9e9046905e7baf20568910c17b8fa7 (diff)
downloadmpv-9cef48bac77cbeefe7dade7cb38fb3a00a16733a.tar.bz2
mpv-9cef48bac77cbeefe7dade7cb38fb3a00a16733a.tar.xz
rename 'struct keymap' -> 'struct mp_keymap'
This avoids the compilation failure on kFreeBSD (at least amd64): In file included from libvo/vo_directfb2.c:44: libvo/video_out.h:267: error: redefinition of 'struct keymap' This is because libvo/vo_directfb2.c #includes sys/kd.h, which in turn includes sys/kbio.h, which defines another 'struct keymap'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31059 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/osx_common.c')
-rw-r--r--libvo/osx_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/osx_common.c b/libvo/osx_common.c
index 3ceef2fece..b89a5e3d5c 100644
--- a/libvo/osx_common.c
+++ b/libvo/osx_common.c
@@ -76,7 +76,7 @@
#define kVK_UpArrow 0x7e
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED <= 1040 */
-static const struct keymap keymap[] = {
+static const struct mp_keymap keymap[] = {
// special keys
{0x34, KEY_ENTER}, // Enter key on some iBooks?
{kVK_Return, KEY_ENTER},