mirror of
https://github.com/curl/curl.git
synced 2026-08-02 01:00:28 +03:00
config: rename the OS define to CURL_OS to reduce collision risk
Reported-by: Jon Rumsey Fixes #15455 Closes #15457
This commit is contained in:
parent
c0d2b9bee7
commit
0cececef0f
19 changed files with 41 additions and 41 deletions
|
|
@ -53,8 +53,8 @@ extern FILE *tool_stderr;
|
|||
# define main(x,y) curl_main(x,y)
|
||||
#endif
|
||||
|
||||
#ifndef OS
|
||||
# define OS "unknown"
|
||||
#ifndef CURL_OS
|
||||
# define CURL_OS "unknown"
|
||||
#endif
|
||||
|
||||
#ifndef UNPRINTABLE_CHAR
|
||||
|
|
|
|||
|
|
@ -31,6 +31,6 @@
|
|||
#define CURL_VERSION_MAJOR LIBCURL_VERSION_MAJOR
|
||||
#define CURL_VERSION_MINOR LIBCURL_VERSION_MINOR
|
||||
#define CURL_VERSION_PATCH LIBCURL_VERSION_PATCH
|
||||
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
|
||||
#define CURL_ID CURL_NAME " " CURL_VERSION " (" CURL_OS ") "
|
||||
|
||||
#endif /* HEADER_CURL_TOOL_VERSION_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue