This commit is contained in:
@ -4,8 +4,8 @@
|
||||
|
||||
objects = mem.obj,str_bas.obj,str_cnv.obj,str_dyn.obj,map.obj,rex.obj,misc.obj
|
||||
|
||||
CFLAGS = /include="../.."
|
||||
#CFLAGS = /pointer_size=long /include="../.."
|
||||
CFLAGS = /include="../../inc"
|
||||
#CFLAGS = /pointer_size=long /include="../../inc"
|
||||
LIBRFLAGS =
|
||||
|
||||
asecmn.olb : $(objects)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: misc.c 116 2008-03-03 11:15:37Z baconevi $
|
||||
* $Id: misc.c 191 2008-06-06 10:19:57Z baconevi $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
@ -9,31 +9,3 @@
|
||||
#define Library
|
||||
#endif
|
||||
|
||||
#include <ase/cmn/types.h>
|
||||
#include <ase/cmn/macros.h>
|
||||
|
||||
#ifndef NDEBUG
|
||||
int ase_assert_failed (
|
||||
const ase_char_t* expr, const ase_char_t* desc,
|
||||
const ase_char_t* file, ase_size_t line)
|
||||
{
|
||||
if (desc == ASE_NULL)
|
||||
{
|
||||
ase_assert_printf (
|
||||
ASE_T("ASSERTION FAILURE AT FILE %s LINE %lu\n%s\n"),
|
||||
file, (unsigned long)line, expr);
|
||||
}
|
||||
else
|
||||
{
|
||||
ase_assert_printf (
|
||||
ASE_T("ASSERTION FAILURE AT FILE %s LINE %lu\n%s\n\nDESCRIPTION:\n%s\n"),
|
||||
file, (unsigned long)line, expr, desc);
|
||||
|
||||
}
|
||||
|
||||
ase_assert_abort ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user