1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

Userland: Move HOST_NAME_MAX to limits.h

POSIX mandates its definition there.
This commit is contained in:
Jean-Baptiste Boric 2021-04-25 21:05:02 +02:00 committed by Linus Groh
parent f9d82ecf18
commit b3e070b2f3
4 changed files with 4 additions and 2 deletions

View file

@ -12,6 +12,8 @@
# define PAGE_SIZE 4096
#endif
#define HOST_NAME_MAX 64
#define PATH_MAX 4096
#if !defined MAXPATHLEN && defined PATH_MAX
# define MAXPATHLEN PATH_MAX