mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-16 08:50:26 +03:00
Kernel: Alias MAXNAMLEN to NAME_MAX
MAXNAMLEN is the BSD name for NAME_MAX, as used by some programs.
This commit is contained in:
parent
f9a006d092
commit
1262a7d142
Notes:
sideshowbarker
2024-07-17 03:27:40 +09:00
Author: https://github.com/seal331 Commit: https://github.com/SerenityOS/serenity/commit/1262a7d142 Pull-request: https://github.com/SerenityOS/serenity/pull/20078 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/timschumi ✅
@ -6,6 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Kernel/API/POSIX/sys/limits.h>
|
||||
#include <Kernel/API/POSIX/sys/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -33,6 +34,8 @@ enum {
|
||||
#define DT_WHT DT_WHT
|
||||
};
|
||||
|
||||
#define MAXNAMLEN NAME_MAX
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user