Skip to content

Commit f1133fe

Browse files
committed
Remove __apple_build_version__ condition from PYBIND11_EXPORT_EXCEPTION
1 parent b3c2fb5 commit f1133fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/detail/common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ PYBIND11_WARNING_POP
324324
// For libc++, the exceptions should be exported,
325325
// otherwise, the exception translation would be incorrect.
326326
#if !defined(PYBIND11_EXPORT_EXCEPTION)
327-
# if defined(__apple_build_version__) || defined(_LIBCPP_EXCEPTION)
327+
# if defined(_LIBCPP_EXCEPTION)
328328
# define PYBIND11_EXPORT_EXCEPTION PYBIND11_EXPORT
329329
# else
330330
# define PYBIND11_EXPORT_EXCEPTION

0 commit comments

Comments
 (0)