diff options
author | wm4 <wm4@nowhere> | 2014-11-18 13:39:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-18 13:40:34 +0100 |
commit | 1507ef05c2b36f8c603b56c3ebc63a541d17fe53 (patch) | |
tree | b9cd2540cadbd501167e6bad5caa1a3816e5ce86 /stream/stream.h | |
parent | c6441780982c6d1d4a18f8a33e7e318bf342f1b7 (diff) | |
download | mpv-1507ef05c2b36f8c603b56c3ebc63a541d17fe53.tar.bz2 mpv-1507ef05c2b36f8c603b56c3ebc63a541d17fe53.tar.xz |
stream: reduce ifdeffery for win32 somewhat
Remove the ones which are not strictly needed.
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/stream/stream.h b/stream/stream.h index e017eef1fd..ccbee9cc1b 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -264,11 +264,8 @@ struct mp_cancel *mp_cancel_new(void *talloc_ctx); void mp_cancel_trigger(struct mp_cancel *c); bool mp_cancel_test(struct mp_cancel *c); void mp_cancel_reset(struct mp_cancel *c); -#ifdef __MINGW32__ -void *mp_cancel_get_event(struct mp_cancel *c); -#else +void *mp_cancel_get_event(struct mp_cancel *c); // win32 HANDLE int mp_cancel_get_fd(struct mp_cancel *c); -#endif // stream_file.c char *mp_file_url_to_filename(void *talloc_ctx, bstr url); |