From: Torge Matthies tmatthies@codeweavers.com
--- dlls/msvcrt/cpp.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/msvcrt/cpp.c b/dlls/msvcrt/cpp.c index 4c46b3d4e86..30959dd0ef8 100644 --- a/dlls/msvcrt/cpp.c +++ b/dlls/msvcrt/cpp.c @@ -637,6 +637,11 @@ void throw_exception(const char* msg) __exception_ctor(&e, msg, &exception_vtable); _CxxThrowException(&e, &exception_exception_type); } +#elif defined(CRT_HAS_EXCEPTION_PTR) +#define STRINGIFY(x) #x +#define STRINGIFY2(x) STRINGIFY(x) +#pragma warning "_MSVCR_VER too low while CRT_HAS_EXCEPTION_PTR is set: " STRINGIFY2(_MSVCR_VER) +#error #endif
/******************************************************************