1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

More compat work towards porting vim.

It now builds and runs in the small-featureset configuration. :^)
This commit is contained in:
Andreas Kling 2019-02-27 00:02:01 +01:00
parent 424368034b
commit e421c10735
8 changed files with 44 additions and 5 deletions

View file

@ -50,12 +50,16 @@ typedef __INTMAX_TYPE__ intmax_t;
#define INT8_MIN (-128)
#define INT16_MIN (-32767-1)
#define INT32_MIN (-2147483647-1)
#define INT64_MIN (-9223372036854775807LL-1LL)
#define INT8_MAX (127)
#define INT16_MAX (32767)
#define INT32_MAX (2147483647)
#define INT64_MAX (9223372036854775807LL)
#define UINT8_MAX (255)
#define UINT16_MAX (65535)
#define UINT32_MAX (4294967295U)
#define UINT64_MAX (18446744073709551615ULL)
#define INT64_C(x) x##LL
#define UINT64_C(x) x##ULL