mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
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:
parent
3ebd774403
commit
95083e0ab1
@ -35,8 +35,7 @@ PR_BEGIN_EXTERN_C
|
||||
#define NS_A4_SIZE 3
|
||||
#endif
|
||||
|
||||
#ifdef NTO
|
||||
// XXX Perhaps an NSPR macro would be a better solution.
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX _POSIX_PATH_MAX
|
||||
#endif
|
||||
|
||||
|
@ -35,8 +35,7 @@ PR_BEGIN_EXTERN_C
|
||||
#define NS_A4_SIZE 3
|
||||
#endif
|
||||
|
||||
#ifdef NTO
|
||||
// XXX Perhaps an NSPR macro would be a better solution.
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX _POSIX_PATH_MAX
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user