scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

__assert.c (192B)


      1 #include <assert.h>
      2 #include <stdlib.h>
      3 #include <stdio.h>
      4 
      5 void __assert(char *exp, char *file, long line)
      6 {
      7 	fprintf(stderr, "%s:%ld: assertion failed '%s'\n", file, line, exp);
      8 	abort();
      9 }