mdbx: never use modern __cxa_thread_atexit() on Apple's OSes.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-08-08 15:08:18 +03:00
parent dd01aabaeb
commit 6d85e35876
2 changed files with 35 additions and 40 deletions

View File

@@ -157,12 +157,12 @@
#define nullptr NULL
#endif
#ifdef __APPLE__
#if defined(__APPLE__) || defined(_DARWIN_C_SOURCE)
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
#ifndef MAC_OS_X_VERSION_MIN_REQUIRED
#define MAC_OS_X_VERSION_MIN_REQUIRED 1070 /* Mac OS X 10.7, 2011 */
#endif
#include <TargetConditionals.h>
#endif /* Apple OSX & iOS */
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \