Skip to content

Commit cdcf5a7

Browse files
committed
Merge pull request #3299 from jld/mz-forceinline
Fix MZ_FORCEINLINE define to work with GCC 4.7.1.
2 parents 75201cd + b043349 commit cdcf5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/miniz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ typedef unsigned char mz_validate_uint64[sizeof(mz_uint64)==8 ? 1 : -1];
391391
#ifdef _MSC_VER
392392
#define MZ_FORCEINLINE __forceinline
393393
#elif defined(__GNUC__)
394-
#define MZ_FORCEINLINE __attribute__((__always_inline__))
394+
#define MZ_FORCEINLINE inline __attribute__((__always_inline__))
395395
#else
396396
#define MZ_FORCEINLINE
397397
#endif

0 commit comments

Comments
 (0)