From: Pierre d'Herbemont Date: Fri, 1 Feb 2008 10:50:19 +0000 (+0000) Subject: test/headers.c: Make sure __LIBVLC__ isn't defined. X-Git-Tag: 0.9.0-test0~3041 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=26714f229b249ab989cecd121344689354ff355a;p=vlc test/headers.c: Make sure __LIBVLC__ isn't defined. --- 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