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:
Daniel Stenberg 2024-10-30 14:00:16 +01:00
parent c0d2b9bee7
commit 0cececef0f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
19 changed files with 41 additions and 41 deletions

View file

@ -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

View file

@ -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 */