فهرست منبع

Kernel: Alias MAXNAMLEN to NAME_MAX

MAXNAMLEN is the BSD name for NAME_MAX, as used by some programs.
Seal Sealy 2 سال پیش
والد
کامیت
1262a7d142
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      Kernel/API/POSIX/dirent.h

+ 3 - 0
Kernel/API/POSIX/dirent.h

@@ -6,6 +6,7 @@
 
 
 #pragma once
 #pragma once
 
 
+#include <Kernel/API/POSIX/sys/limits.h>
 #include <Kernel/API/POSIX/sys/types.h>
 #include <Kernel/API/POSIX/sys/types.h>
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
@@ -33,6 +34,8 @@ enum {
 #define DT_WHT DT_WHT
 #define DT_WHT DT_WHT
 };
 };
 
 
+#define MAXNAMLEN NAME_MAX
+
 #ifdef __cplusplus
 #ifdef __cplusplus
 }
 }
 #endif
 #endif