Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 4abcd214c0
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.382 kB
#ifndef _TARGET_H_
#define _TARGET_H_
#ifdef __cplusplus
extern "C" {
#endif
// QProcess does not correctly emulate a terminal, so output is not flushed by newline.
// This sets flush after every write, which is unfortunately slower.
__attribute__((constructor))
void __set_no_stdout_buffer() {
setvbuf(stdout, (char*) NULL, _IONBF, 0);
}
#ifdef __cplusplus
}
#endif
#endif
Jump to Line
Something went wrong with that request. Please try again.