diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/tools/python3/src/PC/invalid_parameter_handler.c | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 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 d634710cbe..7ad85ee210 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 |