21 #ifndef XAPIAN_INCLUDED_MSVCIGNOREINVALIDPARAM_H 22 #define XAPIAN_INCLUDED_MSVCIGNOREINVALIDPARAM_H 28 #if defined _MSC_VER && _MSC_VER >= 1400 && defined __STDC_SECURE_LIB__ 33 static void dummy_handler(
const wchar_t*,
47 _invalid_parameter_handler old_handler;
53 old_handler = _set_invalid_parameter_handler(dummy_handler);
55 old_report_mode = _CrtSetReportMode(_CRT_ASSERT, 0);
60 _set_invalid_parameter_handler(old_handler);
61 _CrtSetReportMode(_CRT_ASSERT, old_report_mode);
MSVCIgnoreInvalidParameter()