chore: rename macro PYBIND11_SUBINTERPRETER_SUPPORT -> PYBIND11_HAS_SUBINTERPRETER_SUPPORT to meet naming convention (#5682)

This commit is contained in:
Xuehai Pan
2025-05-22 17:16:57 +00:00
committed by GitHub
parent 8d503e30be
commit 98bd78f063
4 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#include <pybind11/embed.h>
#ifdef PYBIND11_SUBINTERPRETER_SUPPORT
#ifdef PYBIND11_HAS_SUBINTERPRETER_SUPPORT
# include <pybind11/subinterpreter.h>
// Silence MSVC C++17 deprecation warning from Catch regarding std::uncaught_exceptions (up to
@@ -428,4 +428,4 @@ TEST_CASE("Per-Subinterpreter GIL") {
}
# endif // Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
#endif // PYBIND11_SUBINTERPRETER_SUPPORT
#endif // PYBIND11_HAS_SUBINTERPRETER_SUPPORT