Lots of minor compat stuff while seeing if bash would build.

We're quite far from bash building, but we'll get there eventually!
This commit is contained in:
Andreas Kling 2018-11-05 16:40:48 +01:00
commit e76312ab63
Notes: sideshowbarker 2024-07-19 18:33:25 +09:00
21 changed files with 172 additions and 38 deletions

11
LibC/endian.h Normal file
View file

@ -0,0 +1,11 @@
#pragma once
#include <sys/cdefs.h>
__BEGIN_DECLS
#define LITTLE_ENDIAN 1234
#define BIG_ENDIAN 4321
#define BYTE_ORDER LITTLE_ENDIAN
__END_DECLS