From 8fa1e89a8da4c3f9bf1325a109bbba061ea9d99a Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 3 Jul 2001 19:27:02 +0000 Subject: [PATCH] fix for Irix --- panda/src/tiff/port.h | 4 ++++ panda/src/tiff/tiff.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/panda/src/tiff/port.h b/panda/src/tiff/port.h index c4ff444736..4abf1da8a4 100644 --- a/panda/src/tiff/port.h +++ b/panda/src/tiff/port.h @@ -20,11 +20,15 @@ extern "C" { #include #include typedef double dblparam_t; +#ifdef __GNUCC__ #ifdef __STRICT_ANSI__ #define INLINE __inline__ #else #define INLINE inline #endif +#else +#define INLINE +#endif #define GLOBALDATA(TYPE,NAME) extern TYPE NAME #ifdef __cplusplus } diff --git a/panda/src/tiff/tiff.h b/panda/src/tiff/tiff.h index 6a662872bf..b0d291645a 100644 --- a/panda/src/tiff/tiff.h +++ b/panda/src/tiff/tiff.h @@ -53,7 +53,7 @@ * strings unsigned char* */ #ifndef PROTYPES_H -// panda comment: int8 already defined in with nspr\include\obsolete\protypes.h +/* panda comment: int8 already defined in with nspr\include\obsolete\protypes.h */ #ifdef __STDC__ typedef signed char int8; /* NB: non-ANSI compilers may not grok */ #else