mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix compilation errors when using CMake to add a project through add_subdirectory.
This commit is contained in:
@ -372,6 +372,8 @@ extern "C" {
|
||||
# else
|
||||
# define ZINT_EXTERN extern
|
||||
# endif
|
||||
#elif defined(__GNUC__) && __GNUC__ >= 4
|
||||
# define ZINT_EXTERN extern __attribute__((visibility("default")))
|
||||
#else
|
||||
# define ZINT_EXTERN extern
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user