From 9bed65ad57ff562b5a04b5cfade1d61a0483eed1 Mon Sep 17 00:00:00 2001 From: Brett Nicholas Date: Wed, 28 Jun 2023 10:26:08 -0600 Subject: [PATCH] split up error message split #if into multiple lines --- examples/benchmark/tls_bench.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/benchmark/tls_bench.c b/examples/benchmark/tls_bench.c index a062c18d7..ef89c8bae 100644 --- a/examples/benchmark/tls_bench.c +++ b/examples/benchmark/tls_bench.c @@ -79,8 +79,11 @@ Or #endif #endif /* Conversely, if both server and client are enabled, we must require pthreads */ -#if !defined(NO_WOLFSSL_CLIENT) && !defined(NO_WOLFSSL_SERVER) && !defined(HAVE_PTHREAD) - #error "pthreads must be enabled if building benchmark suite to run both client and server. Please define HAVE_PTHREAD if your platform supports it." +#if !defined(NO_WOLFSSL_CLIENT) && !defined(NO_WOLFSSL_SERVER) \ + && !defined(HAVE_PTHREAD) + #error "pthreads must be enabled if building benchmark suite \ +to run both client and server. Please define HAVE_PTHREAD if your \ +platform supports it" #endif #ifdef HAVE_PTHREAD