diff options
author | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:18 +0800 |
---|---|---|
committer | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:18 +0800 |
commit | 81ce37eb93e8ce442ecb1855a4e7166628128ac7 (patch) | |
tree | 2af6329f74f88ce090d08c61db5fb4bed8656584 /src/gav1/symbol_visibility.h | |
parent | 4dab0c756a3cdd65b43470a4cca835422b32ca6e (diff) | |
parent | 2381d803c76105f44717d75f089ec37f51e5cfe4 (diff) | |
download | libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.tar.gz libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.tar.bz2 libgav1-81ce37eb93e8ce442ecb1855a4e7166628128ac7.zip |
Update upstream source from tag 'upstream/0.16.3'
Update to upstream version '0.16.3'
with Debian dir a433e04a69210eb8fcdd6089240e161eb33f0590
Diffstat (limited to 'src/gav1/symbol_visibility.h')
-rw-r--r-- | src/gav1/symbol_visibility.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gav1/symbol_visibility.h b/src/gav1/symbol_visibility.h index ad7498c..116a514 100644 --- a/src/gav1/symbol_visibility.h +++ b/src/gav1/symbol_visibility.h @@ -58,6 +58,11 @@ // // Much of the above information and more can be found at // https://gcc.gnu.org/wiki/Visibility +// +// NOTE: A third-party build system for libgav1 can add -DLIBGAV1_PUBLIC= to the +// compiler command line to override the definition of LIBGAV1_PUBLIC in this +// header. This can be used to create a libgav1 static library that will not +// export any symbols when it is linked into a shared library. #if !defined(LIBGAV1_PUBLIC) #if defined(_WIN32) @@ -76,7 +81,7 @@ #else #define LIBGAV1_PUBLIC #endif // defined(LIBGAV1_BUILDING_DLL) && LIBGAV1_BUILDING_DLL -#else +#else // !defined(_WIN32) #if defined(__GNUC__) && __GNUC__ >= 4 #define LIBGAV1_PUBLIC __attribute__((visibility("default"))) #else |