This commit is contained in:
parent
6137728de7
commit
22b0891598
9 changed files with 34 additions and 5 deletions
|
|
@ -30,6 +30,7 @@ enum MwLLBackends {
|
|||
MwLLBackendGDI,
|
||||
MwLLBackendWayland,
|
||||
MwLLBackendCocoa,
|
||||
MwLLBackendHaiku
|
||||
};
|
||||
|
||||
struct _MwLLCommon {
|
||||
|
|
@ -117,6 +118,9 @@ MWDECL void MwLLDBusFreeContext(MwLLDBusFuncTable* tbl, MwLLDBusContext* ctx);
|
|||
#ifdef CLASSIC_MAC_OS
|
||||
#include <Mw/LowLevel/ClassicMacOS.h>
|
||||
#endif
|
||||
#ifdef USE_HAIKU
|
||||
#include <Mw/LowLevel/Haiku.h>
|
||||
#endif
|
||||
|
||||
union _MwLL {
|
||||
struct _MwLLCommon common;
|
||||
|
|
@ -135,6 +139,9 @@ union _MwLL {
|
|||
#ifdef CLASSIC_MAC_OS
|
||||
struct _MwLLClassicMacOS cmacos;
|
||||
#endif
|
||||
#ifdef USE_HAIKU
|
||||
struct _MwLLHaiku haiku;
|
||||
#endif
|
||||
};
|
||||
|
||||
union _MwLLColor {
|
||||
|
|
@ -151,6 +158,9 @@ union _MwLLColor {
|
|||
#ifdef USE_COCOA
|
||||
struct _MwLLCocoaColor cocoa;
|
||||
#endif
|
||||
#ifdef USE_HAIKU
|
||||
struct _MwLLHaikuColor haiku;
|
||||
#endif
|
||||
};
|
||||
|
||||
union _MwLLPixmap {
|
||||
|
|
@ -170,6 +180,9 @@ union _MwLLPixmap {
|
|||
#ifdef CLASSIC_MAC_OS
|
||||
struct _MwLLClassicMacOSPixmap cmacos;
|
||||
#endif
|
||||
#ifdef USE_HAIKU
|
||||
struct _MwLLHaikuPixmap haiku;
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#if defined(__unix__) || defined(__APPLE__)
|
||||
#if defined(__unix__) || defined(__APPLE__) || defined(__HAIKU__)
|
||||
#include <dirent.h>
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue