lib: use `#error` instead of invalid syntax in `curl_setup_once.h`
Reviewed-by: Daniel Stenberg Closes #13287
This commit is contained in:
Родитель
5ae72551d9
Коммит
20c1b2d75e
|
@ -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 */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче