It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.

This commit is contained in:
briano%netscape.com 1999-04-10 01:05:53 +00:00
Родитель 1b0a8731f0
Коммит a0959bed09
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -35,9 +35,8 @@ PR_BEGIN_EXTERN_C
#define NS_A4_SIZE 3
#endif
#ifdef NTO
// XXX Perhaps an NSPR macro would be a better solution.
#define PATH_MAX _POSIX_PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX _POSIX_PATH_MAX
#endif
typedef struct unixprdata {

Просмотреть файл

@ -35,9 +35,8 @@ PR_BEGIN_EXTERN_C
#define NS_A4_SIZE 3
#endif
#ifdef NTO
// XXX Perhaps an NSPR macro would be a better solution.
#define PATH_MAX _POSIX_PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX _POSIX_PATH_MAX
#endif
typedef struct unixprdata {