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