Skip to content

Commit f71c85f

Browse files
committed
build: allow skipping amalgamation code with WALLY_NO_AMALGAMATION
This can be useful in some usage scenarios such as including the code from multiple places.
1 parent be5e54c commit f71c85f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/amalgamation/combined.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#ifndef WALLY_NO_AMALGAMATION
12
/*
23
* secp2556k1-zkp configuration
34
*/
@@ -129,3 +130,5 @@ void wally_silence_unused_warnings(void)
129130
#undef BYTES_INVALID_N
130131
#undef OUTPUT_CHECK
131132
#undef OUTPUT_ALLOC
133+
134+
#endif /* WALLY_NO_AMALGAMATION */

0 commit comments

Comments
 (0)