summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-01-27 13:12:34 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-02-01 16:21:39 -0800
commit20b86c4060c1d4fbc099675d5100fe17e4ac0147 (patch)
tree8290c264420f54cdf0332fe0fac76d108e97f91e
parent74aef85bd88a1fdb22d445ad14975232a7bebdd7 (diff)
os: Remove support for Tiger and earlier versions of macOS
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--os/log.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/os/log.c b/os/log.c
index 456f05c32..4bd6b7e9a 100644
--- a/os/log.c
+++ b/os/log.c
@@ -128,19 +128,12 @@ static int bufferSize = 0, bufferUnused = 0, bufferPos = 0;
static Bool needBuffer = TRUE;
#ifdef __APPLE__
-#include <AvailabilityMacros.h>
-
static char __crashreporter_info_buff__[4096] = { 0 };
static const char *__crashreporter_info__ __attribute__ ((__used__)) =
&__crashreporter_info_buff__[0];
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
-// This is actually a toolchain requirement, but I'm not sure the correct check,
-// but it should be fine to just only include it for Leopard and later. This line
-// just tells the linker to never strip this symbol (such as for space optimization)
asm(".desc ___crashreporter_info__, 0x10");
#endif
-#endif
/* Prefix strings for log messages. */
#ifndef X_UNKNOWN_STRING