mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-18 23:09:52 +02:00
explicitly mark library functions as extern
Add WEBP_EXTERN(type) macro which should make Windows DLL builds simpler by allowing the signature to be changed. Change-Id: I0cfa45dff779985680b1a38ddff30973a0d26639
This commit is contained in:
@ -29,4 +29,10 @@ typedef long long int int64_t;
|
||||
#define inline __forceinline
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#ifndef WEBP_EXTERN
|
||||
// This explicitly marks library functions and allows for changing the
|
||||
// signature for e.g., Windows DLL builds.
|
||||
#define WEBP_EXTERN(type) extern type
|
||||
#endif /* WEBP_EXTERN */
|
||||
|
||||
#endif /* WEBP_WEBP_TYPES_H_ */
|
||||
|
Reference in New Issue
Block a user