Bitcoin Core 29.99.0
P2P Digital Currency
util_local_visibility.h
Go to the documentation of this file.
1#ifndef SECP256K1_LOCAL_VISIBILITY_H
2#define SECP256K1_LOCAL_VISIBILITY_H
3
4/* Global variable visibility */
5/* See: https://github.com/bitcoin-core/secp256k1/issues/1181 */
6#if !defined(_WIN32) && defined(__GNUC__) && (__GNUC__ >= 4)
7# define SECP256K1_LOCAL_VAR extern __attribute__ ((visibility ("hidden")))
8#else
9# define SECP256K1_LOCAL_VAR extern
10#endif
11
12#endif /* SECP256K1_LOCAL_VISIBILITY_H */