1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:37:47 +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

@ -17,7 +17,9 @@
#define PRIx8 "b"
#define PRIx16 "w"
#define PRIx32 "x"
#define PRIX32 "X"
#define PRIx64 "llx"
#define PRIX64 "llX"
#define __PRI64_PREFIX "ll"
#define __PRIPTR_PREFIX