Staging
v0.8.1
https://github.com/python/cpython
Revision 6a273fdc2a36f52fb70359149eff014f1b6b08d4 authored by pxinwr on 28 November 2020, 22:06:36 UTC, committed by GitHub on 28 November 2020, 22:06:36 UTC


On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.
1 parent a86a274
Raw File
Tip revision: 6a273fdc2a36f52fb70359149eff014f1b6b08d4 authored by pxinwr on 28 November 2020, 22:06:36 UTC
bpo-31904: skip some tests related to fifo on VxWorks (GH-23473)
Tip revision: 6a273fd
invalid_parameter_handler.c
#ifdef _MSC_VER

#include <stdlib.h>

#if _MSC_VER >= 1900
/* pyconfig.h uses this function in the _Py_BEGIN/END_SUPPRESS_IPH
 * macros. It does not need to be defined when building using MSVC
 * earlier than 14.0 (_MSC_VER == 1900).
 */

static void __cdecl _silent_invalid_parameter_handler(
    wchar_t const* expression,
    wchar_t const* function,
    wchar_t const* file,
    unsigned int line,
    uintptr_t pReserved) { }

_invalid_parameter_handler _Py_silent_invalid_parameter_handler = _silent_invalid_parameter_handler;

#endif

#endif
back to top