Implemented complain() on Mac OS X.

This commit is contained in:
Pietro Gagliardi 2015-04-30 23:28:02 -04:00
parent 442907ad64
commit 2eb995f93f
1 changed files with 6 additions and 1 deletions

View File

@ -21,5 +21,10 @@ void disableAutocorrect(NSTextView *tv)
void complain(const char *fmt, ...)
{
// TODO
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
abort();
}