diff options
author | siretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-23 10:22:44 +0000 |
---|---|---|
committer | siretart <siretart@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-23 10:22:44 +0000 |
commit | 9cef48bac77cbeefe7dade7cb38fb3a00a16733a (patch) | |
tree | 518cfb1bb7c56ae9a0e96369014425927a7bf8d9 /libvo/w32_common.c | |
parent | 8bd8aba37a9e9046905e7baf20568910c17b8fa7 (diff) | |
download | mpv-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/w32_common.c')
-rw-r--r-- | libvo/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index a0ffd9fb98..ba47f37e7c 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -60,7 +60,7 @@ static HMONITOR (WINAPI* myMonitorFromWindow)(HWND, DWORD); static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO); static BOOL (WINAPI* myEnumDisplayMonitors)(HDC, LPCRECT, MONITORENUMPROC, LPARAM); -static const struct keymap vk_map[] = { +static const struct mp_keymap vk_map[] = { // special keys {VK_ESCAPE, KEY_ESC}, {VK_BACK, KEY_BS}, {VK_TAB, KEY_TAB}, {VK_CONTROL, KEY_CTRL}, |