We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da92cb4 commit 20dc417Copy full SHA for 20dc417
runtime/platform/utils_macos.h
@@ -30,10 +30,9 @@ int32_t DarwinVersion();
30
// Run-time OS version checks.
31
#define DEFINE_IS_OS_FUNCS(VERSION_NAME, VALUE) \
32
inline bool IsAtLeastIOS##VERSION_NAME() { \
33
- return (internal::DarwinVersion() >= 180400); \
+ return (internal::DarwinVersion() >= VALUE); \
34
}
35
36
-DEFINE_IS_OS_FUNCS(18_4, 180400)
37
DEFINE_IS_OS_FUNCS(26_0, 260000)
38
39
#else
0 commit comments