From 2b4d0763234d75fe20e697292d992f4f75bfa857 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 1 Dec 2018 04:15:59 +0300 Subject: [PATCH] Modernize spelling of macOs. GitOrigin-RevId: 92129b6264af6a04d69d0eb79f942ca20923bb78 --- CMakeLists.txt | 2 +- tdutils/td/utils/port/platform.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43ff1bd34..1718e1f36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ else() endif() set(MEMPROF "" CACHE STRING "Use one of \"ON\", \"FAST\" or \"SAFE\" to enable memory profiling. \ -Works under Mac OS and Linux when compiled using glibc. \ +Works under macOS and Linux when compiled using glibc. \ In FAST mode stack is unwinded only using frame pointers, which may fail. \ In SAFE mode stack is unwinded using backtrace function from execinfo.h, which may be very slow. \ By default both methods are used to achieve maximum speed and accuracy") diff --git a/tdutils/td/utils/port/platform.h b/tdutils/td/utils/port/platform.h index f381dc399..a1fec2ec2 100644 --- a/tdutils/td/utils/port/platform.h +++ b/tdutils/td/utils/port/platform.h @@ -20,7 +20,7 @@ #elif defined(__APPLE__) #include "TargetConditionals.h" #if TARGET_OS_IPHONE - // iOS/Apple Watch OS/Apple TV OS + // iOS/watchOS/tvOS #if TARGET_OS_IOS #define TD_DARWIN_IOS 1 #elif TARGET_OS_TV @@ -31,7 +31,7 @@ #warning "Probably unsupported Apple iPhone platform. Feel free to try to compile" #endif #elif TARGET_OS_MAC - // Other kinds of Mac OS + // Other kinds of macOS #define TD_DARWIN_MAC 1 #else #warning "Probably unsupported Apple platform. Feel free to try to compile"