diff options
Diffstat (limited to 'darwin-eprintf.c')
-rw-r--r-- | darwin-eprintf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/darwin-eprintf.c b/darwin-eprintf.c new file mode 100644 index 0000000..d5b2553 --- /dev/null +++ b/darwin-eprintf.c @@ -0,0 +1,7 @@ +#include <stdio.h> +#include <stdlib.h> + +void __eprintf(const char * msg, const char * file, unsigned line, const char * e) { + fprintf(stderr, msg, file, line, e); + abort(); +} |