Skip to content

Commit 9bed65a

Browse files
committed
split up error message
split #if into multiple lines
1 parent b02a22b commit 9bed65a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

examples/benchmark/tls_bench.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ Or
7979
#endif
8080
#endif
8181
/* Conversely, if both server and client are enabled, we must require pthreads */
82-
#if !defined(NO_WOLFSSL_CLIENT) && !defined(NO_WOLFSSL_SERVER) && !defined(HAVE_PTHREAD)
83-
#error "pthreads must be enabled if building benchmark suite to run both client and server. Please define HAVE_PTHREAD if your platform supports it."
82+
#if !defined(NO_WOLFSSL_CLIENT) && !defined(NO_WOLFSSL_SERVER) \
83+
&& !defined(HAVE_PTHREAD)
84+
#error "pthreads must be enabled if building benchmark suite \
85+
to run both client and server. Please define HAVE_PTHREAD if your \
86+
platform supports it"
8487
#endif
8588

8689
#ifdef HAVE_PTHREAD

0 commit comments

Comments
 (0)