mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:43:31 +03:00
build: use #error instead of invalid syntax
It reduces configure log noise.
Follow-up to 20c1b2d75e #13287
Closes #14181
This commit is contained in:
parent
8dab7465a5
commit
4c22d97be7
4 changed files with 9 additions and 9 deletions
|
|
@ -137,7 +137,7 @@ if(NOT DEFINED HAVE_GETADDRINFO_THREADSAFE)
|
|||
#ifdef h_errno
|
||||
return 0;
|
||||
#else
|
||||
force compilation error
|
||||
#error force compilation error
|
||||
#endif
|
||||
}" HAVE_H_ERRNO)
|
||||
|
||||
|
|
@ -158,7 +158,7 @@ if(NOT DEFINED HAVE_GETADDRINFO_THREADSAFE)
|
|||
#elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700)
|
||||
return 0;
|
||||
#else
|
||||
force compilation error
|
||||
#error force compilation error
|
||||
#endif
|
||||
}" HAVE_H_ERRNO_SBS_ISSUE_7)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue