17#if defined(__apple_build_version__)
18# define COMPILING_WITH_APPLE_CLANG 1
20# define COMPILING_WITH_APPLE_CLANG 0
23#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 170000
24# define USING_LIBCPP_PRE_17 1
26# define USING_LIBCPP_PRE_17 0
30# if defined(SPARROW_STATIC_LIB)
32# elif defined(SPARROW_EXPORTS)
33# define SPARROW_API __declspec(dllexport)
35# define SPARROW_API __declspec(dllimport)
38# define SPARROW_API __attribute__((visibility("default")))
47#if defined(__GNUC__) && __GNUC__ < 12
48# define SPARROW_CONSTEXPR_GCC_11 inline
50# define SPARROW_CONSTEXPR_GCC_11 constexpr
53#if (!defined(__clang__) && defined(__GNUC__))
54# if (__GNUC__ < 12 && __GNUC_MINOR__ < 3)
55# define SPARROW_GCC_11_2_WORKAROUND 1
61#if defined(__clang__) && ((__clang_major__ < 18) || (__clang_major__ == 18 && defined(__ANDROID__)))
62# define SPARROW_CONSTEXPR_CLANG inline
64# define SPARROW_CONSTEXPR_CLANG constexpr
67#if defined(__EMSCRIPTEN__) && defined(__CLANG_REPL__)
68# include <clang/Interpreter/CppInterOp.h>
70# ifndef SPARROW_USE_DATE_POLYFILL
71# define SPARROW_USE_DATE_POLYFILL 1
74# ifndef HALF_ERRHANDLING_THROWS
75# define HALF_ERRHANDLING_THROWS 1
78static bool _sparrow_loaded = []()
80 Cpp::LoadLibrary(
"/lib/libsparrow.so",
false);
consteval bool is_apple_compiler()
#define COMPILING_WITH_APPLE_CLANG