diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/python3/src/PC/invalid_parameter_handler.c | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/python3/src/PC/invalid_parameter_handler.c')
-rw-r--r-- | contrib/tools/python3/src/PC/invalid_parameter_handler.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/contrib/tools/python3/src/PC/invalid_parameter_handler.c b/contrib/tools/python3/src/PC/invalid_parameter_handler.c index 7ad85ee210..d634710cbe 100644 --- a/contrib/tools/python3/src/PC/invalid_parameter_handler.c +++ b/contrib/tools/python3/src/PC/invalid_parameter_handler.c @@ -1,22 +1,22 @@ -#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 +#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 |