diff options
-rw-r--r-- | src/3rdparty/libtiff/libtiff/tif_config.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/3rdparty/libtiff/libtiff/tif_config.h b/src/3rdparty/libtiff/libtiff/tif_config.h index d60bd8e..64ab64b 100644 --- a/src/3rdparty/libtiff/libtiff/tif_config.h +++ b/src/3rdparty/libtiff/libtiff/tif_config.h @@ -412,9 +412,12 @@ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ +#if defined(Q_CC_MSVC) #ifndef __cplusplus -#undef inline -#define inline +# ifndef inline +# define inline __inline +# endif +#endif #endif /* Define to `long int' if <sys/types.h> does not define. */ |