mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-07 12:07:42 +00: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