lib: use #error instead of invalid syntax in curl_setup_once.h
Reviewed-by: Daniel Stenberg Closes #13287
This commit is contained in:
parent
5ae72551d9
commit
20c1b2d75e
@ -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 */
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user