Commit 521c6480 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

var: undef Windef.h CALLBACK as we use it here.

No we won't change the name. Microsoft won't make us change our mind ;)
parent b204087e
...@@ -69,6 +69,9 @@ typedef struct ...@@ -69,6 +69,9 @@ typedef struct
static void InputAddCallbacks( input_thread_t *, const vlc_input_callback_t * ); static void InputAddCallbacks( input_thread_t *, const vlc_input_callback_t * );
static void InputDelCallbacks( input_thread_t *, const vlc_input_callback_t * ); static void InputDelCallbacks( input_thread_t *, const vlc_input_callback_t * );
#ifdef CALLBACK /* For windows */
# undef CALLBACK /* We don't care of this one here */
#endif
/* List all callbacks added by input */ /* List all callbacks added by input */
#define CALLBACK(name,cb) { name, cb } #define CALLBACK(name,cb) { name, cb }
static const vlc_input_callback_t p_input_callbacks[] = static const vlc_input_callback_t p_input_callbacks[] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment