mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Make some foss compatibility improvements
This commit is contained in:
parent
8111462789
commit
5af19b7eed
34 changed files with 319 additions and 48 deletions
11
libc/isystem/linux/limits.h
Normal file
11
libc/isystem/linux/limits.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_LINUX_LIMITS_H_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_LINUX_LIMITS_H_
|
||||
#include "libc/sysv/consts/limits.h"
|
||||
|
||||
#define NR_OPEN 1024
|
||||
#define XATTR_NAME_MAX 255
|
||||
#define XATTR_SIZE_MAX 65536
|
||||
#define XATTR_LIST_MAX 65536
|
||||
#define RTSIG_MAX 32
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_LINUX_LIMITS_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue