Allow use of inline keyword in c++/c99 mode
This commit is contained in:
+4
-3
@@ -22,10 +22,11 @@
|
|||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#ifdef __STRICT_ANSI__
|
#if defined(__cplusplus) || !defined(__STRICT_ANSI__) \
|
||||||
#define BROTLI_INLINE
|
|| __STDC_VERSION__ >= 199901L
|
||||||
#else /* __STRICT_ANSI__ */
|
|
||||||
#define BROTLI_INLINE inline
|
#define BROTLI_INLINE inline
|
||||||
|
#else
|
||||||
|
#define BROTLI_INLINE
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user