Merge pull request #94 from apoelstra/temp-merge-1309c03c45beece646a7d21fdb6a0e3d38adee2b

[upstream PR #773]: Fix some compile problems on weird/old compilers.
This commit is contained in:
Andrew Poelstra
2020-09-25 14:23:54 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ typedef int (*secp256k1_nonce_function)(
# else
# define SECP256K1_API
# endif
# elif defined(__GNUC__) && defined(SECP256K1_BUILD)
# elif defined(__GNUC__) && (__GNUC__ >= 4) && defined(SECP256K1_BUILD)
# define SECP256K1_API __attribute__ ((visibility ("default")))
# else
# define SECP256K1_API