Browse Source

make lib use panda INLINE macro

cxgeorge 24 years ago
parent
commit
cee5e717c5
2 changed files with 4 additions and 2 deletions
  1. 1 1
      panda/src/tiff/tif_aux.cxx
  2. 3 1
      panda/src/tiff/tiffcomp.h

+ 1 - 1
panda/src/tiff/tif_aux.cxx

@@ -29,8 +29,8 @@
  *
  * Auxiliary Support Routines.
  */
-#include "tiffiop.h"
 #include "cmath.h"
+#include "tiffiop.h"
 
 #ifdef COLORIMETRY_SUPPORT
 #include <math.h>

+ 3 - 1
panda/src/tiff/tiffcomp.h

@@ -149,7 +149,9 @@ typedef double dblparam_t;
 #define INLINE  inline
 #endif
 #else /* !__GNUC__ */
-#define INLINE
+#ifndef INLINE
+#define INLINE 
+#endif
 #endif
 
 /*