build: Make tests work with external default callbacks

This commit is contained in:
Tim Ruffing
2023-05-11 19:08:35 +02:00
parent 9eb6934f69
commit 1907f0f166
2 changed files with 10 additions and 0 deletions

View File

@@ -10,7 +10,12 @@
#include <time.h>
#ifdef USE_EXTERNAL_DEFAULT_CALLBACKS
#pragma message("Ignoring USE_EXTERNAL_CALLBACKS in tests.")
#undef USE_EXTERNAL_DEFAULT_CALLBACKS
#endif
#include "secp256k1.c"
#include "../include/secp256k1.h"
#include "../include/secp256k1_preallocated.h"
#include "testrand_impl.h"