Skip to content

Commit

Permalink
Silence a C compiler macro redefinition warning
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Apr 17, 2023
1 parent f915338 commit d8956a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ fn build_secp256k1() {

// Define configuration constants
build
.define("SECP256K1_BUILD", "1")
// This matches the #define in depend/zcash/src/secp256k1/src/secp256k1.c
.define("SECP256K1_BUILD", "")
.define("USE_NUM_NONE", "1")
.define("USE_FIELD_INV_BUILTIN", "1")
.define("USE_SCALAR_INV_BUILTIN", "1")
Expand Down

0 comments on commit d8956a3

Please sign in to comment.