diff options
author | Jim Huang <jserv@biilabs.io> | 2019-06-23 15:29:41 +0800 |
---|---|---|
committer | Jim Huang <jserv.tw@gmail.com> | 2019-06-24 10:15:50 +0800 |
commit | a667971cbf15e413fe7fb81ed936227cc9fe2562 (patch) | |
tree | 1d672470f03dd076cd594fc24ea37cc40a359720 /src/alloc-override-osx.c | |
parent | 3526b09903534c8e106c6957dc3c3848a243e171 (diff) |
Apple rebrands "OS X" as "macOS"
In 2012, with the release of OS X 10.8 Mountain Lion, the name of the
system was shortened from Mac OS X to OS X. In 2016, with the release
of macOS 10.12 Sierra, the name was changed from OS X to macOS to
streamline it with the branding of Apple's other primary operating
systems: iOS, watchOS, and tvOS.
Reference: https://en.wikipedia.org/wiki/MacOS
Diffstat (limited to 'src/alloc-override-osx.c')
-rw-r--r-- | src/alloc-override-osx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloc-override-osx.c b/src/alloc-override-osx.c index 7e26398..c5999cd 100644 --- a/src/alloc-override-osx.c +++ b/src/alloc-override-osx.c @@ -11,11 +11,11 @@ terms of the MIT license. A copy of the license can be found in the file #if defined(MI_MALLOC_OVERRIDE) #if !defined(__APPLE__) -#error "this file should only be included on MacOSX" +#error "this file should only be included on macOS" #endif /* ------------------------------------------------------ - Override system malloc on MacOSX + Override system malloc on macOS This is done through the malloc zone interface. ------------------------------------------------------ */ @@ -161,7 +161,7 @@ static malloc_zone_t* mi_get_default_zone() } -static void __attribute__((constructor)) _mi_macosx_override_malloc() +static void __attribute__((constructor)) _mi_macos_override_malloc() { static malloc_introspection_t intro; memset(&intro, 0, sizeof(intro)); |