lib: use #error instead of invalid syntax in curl_setup_once.h

Reviewed-by: Daniel Stenberg
Closes #13287
This commit is contained in:
Viktor Szakats 2024-04-04 20:01:05 +00:00
parent 5ae72551d9
commit 20c1b2d75e
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -164,9 +164,7 @@ struct timeval {
(RECV_TYPE_ARG4)(0))
#else /* HAVE_RECV */
#ifndef sread
/* */
Error Missing_definition_of_macro_sread
/* */
#error "Missing definition of macro sread!"
#endif
#endif /* HAVE_RECV */
@ -184,9 +182,7 @@ struct timeval {
(SEND_TYPE_ARG4)(SEND_4TH_ARG))
#else /* HAVE_SEND */
#ifndef swrite
/* */
Error Missing_definition_of_macro_swrite
/* */
#error "Missing definition of macro swrite!"
#endif
#endif /* HAVE_SEND */