[vlc-devel] commit: var: undef Windef.h CALLBACK as we use it here. (Pierre d' Herbemont )

git version control git at videolan.org
Wed Aug 13 01:01:25 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 01:04:17 2008 +0200| [521c6480b34c15dcc574ce9b948a50e2c08b31d4] | committer: 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 ;)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=521c6480b34c15dcc574ce9b948a50e2c08b31d4
---

 src/input/var.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/input/var.c b/src/input/var.c
index 1dbba72..c7a7025 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -69,6 +69,9 @@ typedef struct
 static void InputAddCallbacks( 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 */
 #define CALLBACK(name,cb) { name, cb }
 static const vlc_input_callback_t p_input_callbacks[] =




More information about the vlc-devel mailing list