We can use #ifdef _linux_ or #ifdef __APPLE__ to identify the user's operating system. But can we define different versions of the operating system? For example between macOS Big Sur and macOS Monterey.
In search of an answer, I came across the Availability.h library, but I didn't quite understand how to find the right version of OS