From 340eb3150dc6b5b08ab835daf9ea07615b53809b Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 2 Aug 2022 17:25:40 +0200 Subject: [PATCH] PyCXX: [skip ci] fix linking error with MinGW/MSYS --- src/CXX/Python3/Objects.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CXX/Python3/Objects.hxx b/src/CXX/Python3/Objects.hxx index 52f3d255ee..38ee306688 100644 --- a/src/CXX/Python3/Objects.hxx +++ b/src/CXX/Python3/Objects.hxx @@ -55,7 +55,7 @@ namespace Py { - void ifPyErrorThrowCxxException(); + PYCXX_EXPORT void ifPyErrorThrowCxxException(); typedef Py_ssize_t sequence_index_type; // type of an index into a sequence PYCXX_EXPORT Py_ssize_t numeric_limits_max();