mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2025-01-25 23:41:29 +01:00
[Loader ]Added missing define to libelf
This commit is contained in:
parent
13cc202a2e
commit
d5800f49a2
@ -315,6 +315,24 @@ extern const char *__progname;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__wiiu__)
|
||||||
|
|
||||||
|
#include <sys/param.h>
|
||||||
|
|
||||||
|
#define ELFTC_BYTE_ORDER BYTE_ORDER
|
||||||
|
#define ELFTC_BYTE_ORDER_LITTLE_ENDIAN LITTLE_ENDIAN
|
||||||
|
#define ELFTC_BYTE_ORDER_BIG_ENDIAN BIG_ENDIAN
|
||||||
|
|
||||||
|
#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
|
||||||
|
#define roundup2 roundup
|
||||||
|
|
||||||
|
#define ELFTC_HAVE_MMAP 0
|
||||||
|
#define ELFTC_HAVE_STRMODE 0/
|
||||||
|
#define ELFTC_NEED_BYTEORDER_EXTENSIONS 1
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(__DragonFly__)
|
#if defined(__DragonFly__)
|
||||||
|
|
||||||
#include <osreldate.h>
|
#include <osreldate.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user