mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
19 lines
507 B
C
19 lines
507 B
C
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
#include <precomp.h>
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <signal.h>
|
|
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
void _assert(const char *msg, const char *file, unsigned line)
|
|
{
|
|
/* Assertion failed at foo.c line 45: x<y */
|
|
fprintf(stderr, "Assertion failed at %s line %d: %s\n", file, line, msg);
|
|
FIXME("Assertion failed at %s line %d: %s\n", file, line, msg);
|
|
raise(SIGABRT);
|
|
for(;;); /* eliminate warning by mingw */
|
|
}
|