diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2013-07-13 16:42:14 +1000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-13 14:43:54 +0200 |
commit | ea7e54cb347b13d8036f42fcf3c8263f58fcd636 (patch) | |
tree | 07fa44220b455357de50627a45716d1502f47c7d /core/input/input.c | |
parent | 58c92bce690568ba6ff20d67e51d7cb9f7e6ce57 (diff) | |
download | mpv-ea7e54cb347b13d8036f42fcf3c8263f58fcd636.tar.bz2 mpv-ea7e54cb347b13d8036f42fcf3c8263f58fcd636.tar.xz |
w32: silence some warnings
Diffstat (limited to 'core/input/input.c')
-rw-r--r-- | core/input/input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c index e87d9bb560..36543f3e5f 100644 --- a/core/input/input.c +++ b/core/input/input.c @@ -1154,12 +1154,14 @@ static int default_cmd_func(int fd, char *buf, int l) } } +#ifndef __MINGW32__ static int read_wakeup(void *ctx, int fd) { char buf[100]; read(fd, buf, sizeof(buf)); return MP_INPUT_NOTHING; } +#endif static bool bind_matches_key(struct cmd_bind *bind, int n, const int *keys); |