mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-26 17:10:43 +02:00
Fixed assert raised with msvc 2008 on windows.
This commit is contained in:
parent
8cc9c399a4
commit
892bb42550
1 changed files with 5 additions and 0 deletions
|
|
@ -232,7 +232,12 @@ main (int argc, char *argv[])
|
|||
* do dbus-monitor > file, then send SIGINT via Control-C, they
|
||||
* don't lose the last chunk of messages.
|
||||
*/
|
||||
|
||||
#ifdef DBUS_WIN
|
||||
setvbuf (stdout, NULL, _IONBF, 0);
|
||||
#else
|
||||
setvbuf (stdout, NULL, _IOLBF, 0);
|
||||
#endif
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue