Bladeren bron

fix for Irix

David Rose 24 jaren geleden
bovenliggende
commit
8fa1e89a8d
2 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 4 0
      panda/src/tiff/port.h
  2. 1 1
      panda/src/tiff/tiff.h

+ 4 - 0
panda/src/tiff/port.h

@@ -20,11 +20,15 @@ extern "C" {
 #include <stdlib.h>
 #include <fcntl.h>
 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
 }

+ 1 - 1
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