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,5 +1,10 @@
|
||||
|
||||
#include <directfb.h>
|
||||
|
||||
#ifdef __no_instrument_function__
|
||||
#undef __no_instrument_function__
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user