From 48241243425af60788b7d74b29335470b8bfa39e Mon Sep 17 00:00:00 2001 From: "briano%netscape.com" Date: Sat, 10 Apr 1999 01:05:53 +0000 Subject: [PATCH] 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 --- mozilla/gfx/src/gtk/nsPrintdGTK.h | 5 ++--- mozilla/widget/src/gtk2/nsPrintdGTK.h | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/mozilla/gfx/src/gtk/nsPrintdGTK.h b/mozilla/gfx/src/gtk/nsPrintdGTK.h index 17b4da02385..41f7e10f90a 100644 --- a/mozilla/gfx/src/gtk/nsPrintdGTK.h +++ b/mozilla/gfx/src/gtk/nsPrintdGTK.h @@ -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 { diff --git a/mozilla/widget/src/gtk2/nsPrintdGTK.h b/mozilla/widget/src/gtk2/nsPrintdGTK.h index 17b4da02385..41f7e10f90a 100644 --- a/mozilla/widget/src/gtk2/nsPrintdGTK.h +++ b/mozilla/widget/src/gtk2/nsPrintdGTK.h @@ -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 {