/*********************************************************************
* _errno (MSVCRT.@)
*/
-int CDECL *_errno(void)
+int* CDECL _errno(void)
{
return &(msvcrt_get_thread_data()->thread_errno);
}
else
{
ERR( "%s:%u %s: %s %lx\n", debugstr_w(file), line, debugstr_w(func), debugstr_w(expr), arg );
+#if _MSVCR_VER > 0 // FIXME: possible improvement: use a global variable in the DLL
RaiseException( STATUS_INVALID_CRUNTIME_PARAMETER, EXCEPTION_NONCONTINUABLE, 0, NULL );
+#endif
}
}