mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:01:41 +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
|
|
@ -94,7 +94,7 @@ int main (void)
|
|||
#ifdef $1
|
||||
return 0;
|
||||
#else
|
||||
force compilation error
|
||||
#error force compilation error
|
||||
#endif
|
||||
}
|
||||
]])
|
||||
|
|
@ -130,7 +130,7 @@ int main (void)
|
|||
#elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
|
||||
return 0;
|
||||
#else
|
||||
force compilation error
|
||||
#error force compilation error
|
||||
#endif
|
||||
}
|
||||
]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue