Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1 | Rev 8 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | 38 | ||
| 39 | #ifndef WEBP_EXTERN |
39 | #ifndef WEBP_EXTERN |
| 40 | // This explicitly marks library functions and allows for changing the |
40 | // This explicitly marks library functions and allows for changing the |
| 41 | // signature for e.g., Windows DLL builds. |
41 | // signature for e.g., Windows DLL builds. |
| 42 | # if defined(__GNUC__) && __GNUC__ >= 4 |
42 | # if defined(__GNUC__) && __GNUC__ >= 4 |
| 43 | # define WEBP_EXTERN |
43 | # define WEBP_EXTERN extern __attribute__ ((visibility ("default"))) |
| 44 | # else |
44 | # else |
| 45 | # define WEBP_EXTERN |
45 | # define WEBP_EXTERN extern |
| 46 | # endif /* __GNUC__ >= 4 */ |
46 | # endif /* __GNUC__ >= 4 */ |
| 47 | #endif /* WEBP_EXTERN */ |
47 | #endif /* WEBP_EXTERN */ |
| 48 | 48 | ||
| 49 | // Macro to check ABI compatibility (same major revision number) |
49 | // Macro to check ABI compatibility (same major revision number) |
| 50 | #define WEBP_ABI_IS_INCOMPATIBLE(a, b) (((a) >> 8) != ((b) >> 8)) |
50 | #define WEBP_ABI_IS_INCOMPATIBLE(a, b) (((a) >> 8) != ((b) >> 8)) |