diff options
author | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
---|---|---|
committer | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
commit | 2381d803c76105f44717d75f089ec37f51e5cfe4 (patch) | |
tree | 33f40fb4dfd1039ac262d5f1c1065d298578ddc1 /src/gav1/symbol_visibility.h | |
parent | e8d277081293b6fb2a5d469616baaa7a06f52496 (diff) | |
download | libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.gz libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.bz2 libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.zip |
New upstream version 0.16.3
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 |