mirror of
https://github.com/google/brotli.git
synced 2025-01-03 21:51:07 +00:00
Allow use of inline keyword in c++/c99 mode.
This commit is contained in:
parent
37aa5e05c0
commit
dd6237b0e8
@ -22,10 +22,11 @@
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include <inttypes.h>
|
||||
#ifdef __STRICT_ANSI__
|
||||
#define BROTLI_INLINE
|
||||
#else /* __STRICT_ANSI__ */
|
||||
#if defined(__cplusplus) || !defined(__STRICT_ANSI__) \
|
||||
|| __STDC_VERSION__ >= 199901L
|
||||
#define BROTLI_INLINE inline
|
||||
#else
|
||||
#define BROTLI_INLINE
|
||||
#endif
|
||||
#else
|
||||
typedef signed char int8_t;
|
||||
|
Loading…
Reference in New Issue
Block a user