Pārlūkot izejas kodu

MAX_PATH is not defined in some platforms, most notably GNU/Hurd. Therefore, I define it here to 4096 which is the same value in limits.h.

master
SZ Lin (林上智) pirms 7 gadiem
vecāks
revīzija
1ec5eb1231
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      nnn.c

+ 3
- 0
nnn.c Parādīt failu

@@ -13,6 +13,9 @@
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#ifdef __gnu_hurd__
#define PATH_MAX 4096
#endif
#include <locale.h>
#include <pwd.h>
#include <regex.h>


Notiek ielāde…
Atcelt
Saglabāt