It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.
git-svn-id: svn://10.0.0.236/trunk@26932 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user