mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibC: Minor changes to make nasm work
* Added some missing macros to headers * Stubbed strftime() time function to not assert * Added "rt" mode to fopen(), working just like "r" or "rb"
This commit is contained in:
parent
aba6e6de6a
commit
c2a8c4cedd
Notes:
sideshowbarker
2024-07-19 11:18:34 +09:00
Author: https://github.com/Mcpg 🔰
Commit: c2a8c4cedd
Pull-request: https://github.com/SerenityOS/serenity/pull/744
5 changed files with 20 additions and 3 deletions
|
@ -101,6 +101,15 @@ typedef __INTMAX_TYPE__ intmax_t;
|
|||
#define UINT_LEAST32_MAX UINT32_MAX
|
||||
#define UINT_LEAST64_MAX UINT64_MAX
|
||||
|
||||
#define INT8_C(x) x
|
||||
#define UINT8_C(x) x
|
||||
|
||||
#define INT16_C(x) x
|
||||
#define UINT16_C(x) x
|
||||
|
||||
#define INT32_C(x) x
|
||||
#define UINT32_C(x) x
|
||||
|
||||
#define INT64_C(x) x##LL
|
||||
#define UINT64_C(x) x##ULL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue