From b0fc5efcc9e083e6513812d2d2789e369c851789 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Wed, 9 Jun 1999 10:09:47 +0000 Subject: [PATCH] Port to KCC. --- gfx/src/gtk/nsPrintdGTK.h | 4 ++++ htmlparser/src/nsHTMLContentSinkStream.h | 2 +- parser/htmlparser/src/nsHTMLContentSinkStream.h | 2 +- widget/src/gtk2/nsPrintdGTK.h | 4 ++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gfx/src/gtk/nsPrintdGTK.h b/gfx/src/gtk/nsPrintdGTK.h index 41f7e10f90a..46043a3f5f9 100644 --- a/gfx/src/gtk/nsPrintdGTK.h +++ b/gfx/src/gtk/nsPrintdGTK.h @@ -36,7 +36,11 @@ PR_BEGIN_EXTERN_C #endif #ifndef PATH_MAX +#ifdef _POSIX_PATH_MAX #define PATH_MAX _POSIX_PATH_MAX +#else +#define PATH_MAX 256 +#endif #endif typedef struct unixprdata { diff --git a/htmlparser/src/nsHTMLContentSinkStream.h b/htmlparser/src/nsHTMLContentSinkStream.h index bc5e71c807d..3cbc7711f8b 100644 --- a/htmlparser/src/nsHTMLContentSinkStream.h +++ b/htmlparser/src/nsHTMLContentSinkStream.h @@ -49,7 +49,7 @@ {0xa39c6bff, 0x15f0, 0x11d2, \ {0x80, 0x41, 0x0, 0x10, 0x4b, 0x98, 0x3f, 0xd4}} -#ifndef XP_MAC +#if !defined(XP_MAC) && !defined(__KCC) class ostream; #endif diff --git a/parser/htmlparser/src/nsHTMLContentSinkStream.h b/parser/htmlparser/src/nsHTMLContentSinkStream.h index bc5e71c807d..3cbc7711f8b 100644 --- a/parser/htmlparser/src/nsHTMLContentSinkStream.h +++ b/parser/htmlparser/src/nsHTMLContentSinkStream.h @@ -49,7 +49,7 @@ {0xa39c6bff, 0x15f0, 0x11d2, \ {0x80, 0x41, 0x0, 0x10, 0x4b, 0x98, 0x3f, 0xd4}} -#ifndef XP_MAC +#if !defined(XP_MAC) && !defined(__KCC) class ostream; #endif diff --git a/widget/src/gtk2/nsPrintdGTK.h b/widget/src/gtk2/nsPrintdGTK.h index 41f7e10f90a..46043a3f5f9 100644 --- a/widget/src/gtk2/nsPrintdGTK.h +++ b/widget/src/gtk2/nsPrintdGTK.h @@ -36,7 +36,11 @@ PR_BEGIN_EXTERN_C #endif #ifndef PATH_MAX +#ifdef _POSIX_PATH_MAX #define PATH_MAX _POSIX_PATH_MAX +#else +#define PATH_MAX 256 +#endif #endif typedef struct unixprdata {