Implemented complain() on Mac OS X.
This commit is contained in:
parent
442907ad64
commit
2eb995f93f
|
@ -21,5 +21,10 @@ void disableAutocorrect(NSTextView *tv)
|
||||||
|
|
||||||
void complain(const char *fmt, ...)
|
void complain(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
// TODO
|
va_list ap;
|
||||||
|
|
||||||
|
va_start(ap, fmt);
|
||||||
|
vfprintf(stderr, fmt, ap);
|
||||||
|
va_end(ap);
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue