]> git.sesse.net Git - vlc/blobdiff - src/test/headers.c
test/dictionary.c: Fix a warning.
[vlc] / src / test / headers.c
index 986f79831b0fbd85cb51faaac8316dd95c078d30..8575c5ccfa2a31384ee95fa908cad57e404bc32c 100644 (file)
 
 #define PACKAGE "vlc"
 
+/* Because we are from src/ __LIBVLC__ is defined, but we don't want that,
+ * as we act here as a third-party program just linking to libvlc */
+#ifdef __LIBVLC__
+# undef __LIBVLC__
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_structures.h>