From 26714f229b249ab989cecd121344689354ff355a Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Fri, 1 Feb 2008 10:50:19 +0000 Subject: [PATCH] test/headers.c: Make sure __LIBVLC__ isn't defined. --- src/test/headers.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/headers.c b/src/test/headers.c index 986f79831b..8575c5ccfa 100644 --- a/src/test/headers.c +++ b/src/test/headers.c @@ -26,6 +26,12 @@ #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 #include #include -- 2.39.5