mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-04 16:06:49 +02:00
Merge "webp/types.h: use inline for clang++/-std=c++11"
This commit is contained in:
commit
d18554c30d
@ -18,10 +18,11 @@
|
|||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#ifdef __STRICT_ANSI__
|
#if defined(__cplusplus) || !defined(__STRICT_ANSI__) || \
|
||||||
#define WEBP_INLINE
|
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
|
||||||
#else /* __STRICT_ANSI__ */
|
|
||||||
#define WEBP_INLINE inline
|
#define WEBP_INLINE inline
|
||||||
|
#else
|
||||||
|
#define WEBP_INLINE
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user