We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3c2fb5 commit f1133feCopy full SHA for f1133fe
include/pybind11/detail/common.h
@@ -324,7 +324,7 @@ PYBIND11_WARNING_POP
324
// For libc++, the exceptions should be exported,
325
// otherwise, the exception translation would be incorrect.
326
#if !defined(PYBIND11_EXPORT_EXCEPTION)
327
-# if defined(__apple_build_version__) || defined(_LIBCPP_EXCEPTION)
+# if defined(_LIBCPP_EXCEPTION)
328
# define PYBIND11_EXPORT_EXCEPTION PYBIND11_EXPORT
329
# else
330
# define PYBIND11_EXPORT_EXCEPTION
0 commit comments