diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2013-12-19 11:11:28 +1100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2013-12-19 11:23:23 +1100 |
commit | 81ad21d63ecf08c274b61e0a9663e00541dde4b9 (patch) | |
tree | a5b12672e1408fd53f757655fed765301e1db156 /ext/directfb | |
parent | 628461b4d1df47aa6a208d48a6cce7ecf315d053 (diff) | |
download | gstreamer-plugins-bad-81ad21d63ecf08c274b61e0a9663e00541dde4b9.tar.gz |
directfb: Add hack to fix compile with broken DirectFB define
Compilation breaks because some versions of DirectFB redefine
__no_instrument_function__, which is used in the G_GNUC_NO_INSTRUMENT
macro.
Diffstat (limited to 'ext/directfb')
-rw-r--r-- | ext/directfb/dfb-example.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/directfb/dfb-example.c b/ext/directfb/dfb-example.c index 59bbd4a6f..b1bc034f2 100644 --- a/ext/directfb/dfb-example.c +++ b/ext/directfb/dfb-example.c @@ -1,5 +1,10 @@ #include <directfb.h> + +#ifdef __no_instrument_function__ +#undef __no_instrument_function__ +#endif + #include <stdio.h> #include <gst/gst.h> |