import vanilla x86_64 code as x32
This commit is contained in:
parent
0f169cbb79
commit
323272db17
75 changed files with 2677 additions and 0 deletions
8
arch/x32/bits/limits.h
Normal file
8
arch/x32/bits/limits.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|
||||
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
#define PAGE_SIZE 4096
|
||||
#define LONG_BIT 64
|
||||
#endif
|
||||
|
||||
#define LONG_MAX 0x7fffffffffffffffL
|
||||
#define LLONG_MAX 0x7fffffffffffffffLL
|
||||
Loading…
Add table
Add a link
Reference in a new issue