mirror of https://github.com/wolfSSL/wolfssl.git
add define to use test/benchmark.h without path prefix
parent
0259178033
commit
d662291b3d
|
@ -548,7 +548,11 @@ static const char* bench_desc_words[][9] = {
|
||||||
#pragma warning(disable: 4996)
|
#pragma warning(disable: 4996)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_FLAT_BENCHMARK_H
|
||||||
|
#include "benchmark.h"
|
||||||
|
#else
|
||||||
#include "wolfcrypt/benchmark/benchmark.h"
|
#include "wolfcrypt/benchmark/benchmark.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WOLFSSL_CURRTIME_REMAP
|
#ifdef WOLFSSL_CURRTIME_REMAP
|
||||||
#define current_time WOLFSSL_CURRTIME_REMAP
|
#define current_time WOLFSSL_CURRTIME_REMAP
|
||||||
|
|
|
@ -216,7 +216,11 @@
|
||||||
#define printf wolfssl_pb_print
|
#define printf wolfssl_pb_print
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_FLAT_TEST_H
|
||||||
|
#include "test.h"
|
||||||
|
#else
|
||||||
#include "wolfcrypt/test/test.h"
|
#include "wolfcrypt/test/test.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(WOLFSSL_CERT_GEN) && defined(WOLFSSL_MULTI_ATTRIB)
|
#if defined(WOLFSSL_CERT_GEN) && defined(WOLFSSL_MULTI_ATTRIB)
|
||||||
static void initDefaultName(void);
|
static void initDefaultName(void);
|
||||||
|
|
Loading…
Reference in New Issue