scc

simple C compiler
git clone git://git.2f30.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 }