parent
5691f3f685
commit
bede0b407b
1 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,13 @@
|
||||||
# include <math.h>
|
# include <math.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER >= 1930
|
||||||
|
/* Workaround what seems to be a bug in the Python headers with MSVC 2022.
|
||||||
|
* https://github.com/swig/swig/issues/2090
|
||||||
|
*/
|
||||||
|
# include <corecrt.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
|
#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
|
||||||
/* Use debug wrappers with the Python release dll */
|
/* Use debug wrappers with the Python release dll */
|
||||||
# undef _DEBUG
|
# undef _DEBUG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue