1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +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:
Paweł Cholewa 2019-11-08 21:39:31 +01:00 committed by Andreas Kling
parent aba6e6de6a
commit c2a8c4cedd
5 changed files with 20 additions and 3 deletions

View file

@ -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