Skip to content

Commit 4f99421

Browse files
committed
core: Try to use DLLAPI to fix Windows link
1 parent 2632b86 commit 4f99421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/eigenpy/numpy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// For compatibility with Numpy 2.x
1515
// See
1616
// https://numpy.org/devdocs/reference/c-api/array.html#c.NPY_API_SYMBOL_ATTRIBUTE
17-
#define NPY_API_SYMBOL_ATTRIBUTE
17+
#define NPY_API_SYMBOL_ATTRIBUTE EIGENPY_DLLAPI
1818

1919
#include <numpy/numpyconfig.h>
2020
#ifdef NPY_1_8_API_VERSION

0 commit comments

Comments
 (0)