diff --git a/src/misc/pv/templateMeta.h b/src/misc/pv/templateMeta.h index fa75b5b..1f9ad54 100644 --- a/src/misc/pv/templateMeta.h +++ b/src/misc/pv/templateMeta.h @@ -10,7 +10,9 @@ // gently nudge the compiler to inline our wrappers // Warning: Only use this when the template body is *small*. // You have been warned! -#if defined(__GNUC__) && __GNUC__>=3 +#if defined(__MINGW32__) +# define FORCE_INLINE inline +#elif defined(__GNUC__) && __GNUC__>=3 # define FORCE_INLINE __attribute__((always_inline)) inline #elif defined(_MSC_VER) # define FORCE_INLINE __forceinline