mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
LibC: Set (U)LONG_WIDTH
correctly for 64-bit
All supported targets use an LP64 ABI, where both `long` and `long long` are 64 bits wide. We set `LONG_WIDTH` to 32, which caused an error when compiling gnulib's `vasnprintf` routine. We might consider using built-in macros to avoid such issues in the future.
This commit is contained in:
parent
e2dcd97c88
commit
725584881a
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@
|
|||
#define INT_WIDTH 32
|
||||
#define UINT_WIDTH 32
|
||||
|
||||
#define LONG_WIDTH 32
|
||||
#define ULONG_WIDTH 32
|
||||
#define LONG_WIDTH 64
|
||||
#define ULONG_WIDTH 64
|
||||
|
||||
#define LLONG_WIDTH 64
|
||||
#define ULLONG_WIDTH 64
|
||||
|
|
Loading…
Add table
Reference in a new issue