From 3fbb4aae6347951023f87d0d7d63a6a70d479b49 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 29 Jul 2024 00:41:54 -0700 Subject: [PATCH] Fix silly oversight. --- include/pybind11/stl/filesystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/stl/filesystem.h b/include/pybind11/stl/filesystem.h index b877a01de9..935d794815 100644 --- a/include/pybind11/stl/filesystem.h +++ b/include/pybind11/stl/filesystem.h @@ -34,7 +34,7 @@ PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) PYBIND11_NAMESPACE_BEGIN(detail) #ifdef PYPY_VERSION -# define PYBIND11_REINTERPRET_CAST_VOID_PTR_IF_NOT_PYPY(...) +# define PYBIND11_REINTERPRET_CAST_VOID_PTR_IF_NOT_PYPY(...) (__VA_ARGS__) #else # define PYBIND11_REINTERPRET_CAST_VOID_PTR_IF_NOT_PYPY(...) \ (reinterpret_cast(__VA_ARGS__))