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

@ -280,7 +280,7 @@ UNITTEST_START
enum system machine;
#ifdef HAVE_FNMATCH
if(strstr(OS, "apple") || strstr(OS, "darwin")) {
if(strstr(CURL_OS, "apple") || strstr(CURL_OS, "darwin")) {
machine = SYSTEM_MACOS;
}
else