Merge pull request #3299 from jld/mz-forceinline

Fix MZ_FORCEINLINE define to work with GCC 4.7.1.
This commit is contained in:
Graydon Hoare 2012-08-29 10:31:17 -07:00
commit cdcf5a7580

View File

@ -391,7 +391,7 @@ typedef unsigned char mz_validate_uint64[sizeof(mz_uint64)==8 ? 1 : -1];
#ifdef _MSC_VER
#define MZ_FORCEINLINE __forceinline
#elif defined(__GNUC__)
#define MZ_FORCEINLINE __attribute__((__always_inline__))
#define MZ_FORCEINLINE inline __attribute__((__always_inline__))
#else
#define MZ_FORCEINLINE
#endif