mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
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.
This commit is contained in:
parent
628461b4d1
commit
81ad21d63e
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
|
||||
#include <directfb.h>
|
||||
|
||||
#ifdef __no_instrument_function__
|
||||
#undef __no_instrument_function__
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue