fixed compilation with DirectFB 0.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
#include "wx/vidmode.h"
|
||||
|
||||
#include <directfb.h>
|
||||
#include <directfb_version.h>
|
||||
|
||||
// DFB < 1.0 didn't have u8 type, only __u8
|
||||
#if DIRECTFB_MAJOR_VERSION == 0
|
||||
typedef __u8 u8;
|
||||
#endif
|
||||
|
||||
|
||||
wxDFB_DECLARE_INTERFACE(IDirectFB);
|
||||
wxDFB_DECLARE_INTERFACE(IDirectFBDisplayLayer);
|
||||
|
Reference in New Issue
Block a user