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