mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 03:54:25 +00:00
loader/webp: do not expose webp apis.
this reduces the bin size around -1.5kb
This commit is contained in:
parent
081f276f21
commit
aa07e98c7b
1 changed files with 0 additions and 7 deletions
|
@ -37,14 +37,7 @@ typedef long long int int64_t;
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
#ifndef WEBP_EXTERN
|
#ifndef WEBP_EXTERN
|
||||||
// This explicitly marks library functions and allows for changing the
|
|
||||||
// signature for e.g., Windows DLL builds.
|
|
||||||
# if defined(__GNUC__) && __GNUC__ >= 4
|
|
||||||
# define WEBP_EXTERN(type) extern __attribute__ ((visibility ("default"))) type
|
|
||||||
# else
|
|
||||||
# define WEBP_EXTERN(type) extern type
|
# define WEBP_EXTERN(type) extern type
|
||||||
# endif /* __GNUC__ >= 4 */
|
|
||||||
|
|
||||||
#endif /* WEBP_EXTERN */
|
#endif /* WEBP_EXTERN */
|
||||||
|
|
||||||
// Macro to check ABI compatibility (same major revision number)
|
// Macro to check ABI compatibility (same major revision number)
|
||||||
|
|
Loading…
Add table
Reference in a new issue