summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/src
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/chromium/src')
-rw-r--r--ipc/chromium/src/base/process_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipc/chromium/src/base/process_util.h b/ipc/chromium/src/base/process_util.h
index 2b257b587..9b1e4fed5 100644
--- a/ipc/chromium/src/base/process_util.h
+++ b/ipc/chromium/src/base/process_util.h
@@ -44,10 +44,12 @@ typedef PROCESSENTRY32 ProcessEntry;
typedef IO_COUNTERS IoCounters;
#elif defined(OS_POSIX)
// TODO(port): we should not rely on a Win32 structure.
+// Using NAME_MAX here would raise POSIX compliance issues
+// (see Mozilla bug 1364865).
struct ProcessEntry {
int pid;
int ppid;
- char szExeFile[NAME_MAX + 1];
+ char szExeFile[_POSIX_PATH_MAX + 1];
};
struct IoCounters {