Modernize spelling of macOs.
GitOrigin-RevId: 92129b6264af6a04d69d0eb79f942ca20923bb78
This commit is contained in:
parent
c7cb2978fd
commit
2b4d076323
@ -71,7 +71,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(MEMPROF "" CACHE STRING "Use one of \"ON\", \"FAST\" or \"SAFE\" to enable memory profiling. \
|
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 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. \
|
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")
|
By default both methods are used to achieve maximum speed and accuracy")
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#include "TargetConditionals.h"
|
#include "TargetConditionals.h"
|
||||||
#if TARGET_OS_IPHONE
|
#if TARGET_OS_IPHONE
|
||||||
// iOS/Apple Watch OS/Apple TV OS
|
// iOS/watchOS/tvOS
|
||||||
#if TARGET_OS_IOS
|
#if TARGET_OS_IOS
|
||||||
#define TD_DARWIN_IOS 1
|
#define TD_DARWIN_IOS 1
|
||||||
#elif TARGET_OS_TV
|
#elif TARGET_OS_TV
|
||||||
@ -31,7 +31,7 @@
|
|||||||
#warning "Probably unsupported Apple iPhone platform. Feel free to try to compile"
|
#warning "Probably unsupported Apple iPhone platform. Feel free to try to compile"
|
||||||
#endif
|
#endif
|
||||||
#elif TARGET_OS_MAC
|
#elif TARGET_OS_MAC
|
||||||
// Other kinds of Mac OS
|
// Other kinds of macOS
|
||||||
#define TD_DARWIN_MAC 1
|
#define TD_DARWIN_MAC 1
|
||||||
#else
|
#else
|
||||||
#warning "Probably unsupported Apple platform. Feel free to try to compile"
|
#warning "Probably unsupported Apple platform. Feel free to try to compile"
|
||||||
|
Loading…
Reference in New Issue
Block a user