1#ifdef _MSC_VER 2 3#include <stdlib.h> 4 5#if _MSC_VER >= 1900 6/* pyconfig.h uses this function in the _Py_BEGIN/END_SUPPRESS_IPH 7 * macros. It does not need to be defined when building using MSVC 8 * earlier than 14.0 (_MSC_VER == 1900). 9 */ 10 11static void __cdecl _silent_invalid_parameter_handler( 12 wchar_t const* expression, 13 wchar_t const* function, 14 wchar_t const* file, 15 unsigned int line, 16 uintptr_t pReserved) { } 17 18_invalid_parameter_handler _Py_silent_invalid_parameter_handler = _silent_invalid_parameter_handler; 19 20#endif 21 22#endif 23