Remove dependency on src/libsecp256k1-config.h
This change eases the use of alternate build systems by moving the variables in `src/libsecp256k1-config.h` to compiler macros for each invocation, preventing duplication of these variables for each build system. Co-authored-by: Ali Sherief <ali@notatether.com>
This commit is contained in:
3
src/precomputed_ecmult.c
generated
3
src/precomputed_ecmult.c
generated
@@ -2,9 +2,6 @@
|
||||
/* This file contains an array secp256k1_pre_g with odd multiples of the base point G and
|
||||
* an array secp256k1_pre_g_128 with odd multiples of 2^128*G for accelerating the computation of a*P + b*G.
|
||||
*/
|
||||
#if defined HAVE_CONFIG_H
|
||||
# include "libsecp256k1-config.h"
|
||||
#endif
|
||||
#include "../include/secp256k1.h"
|
||||
#include "group.h"
|
||||
#include "ecmult.h"
|
||||
|
||||
Reference in New Issue
Block a user