From c38809e8da115ec9bf2b46837a88557e1607d5a6 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 12 May 2010 14:47:18 +0200 Subject: [PATCH] Fix _IOLBF for Windows CE and also define _IONBF if needed. --- tools/dbus-monitor.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index 127e82d..d20faa5 100644 --- a/tools/dbus-monitor.c +++ b/tools/dbus-monitor.c @@ -44,7 +44,10 @@ #ifdef DBUS_WINCE #ifndef _IOLBF -#define _IOLBF 1 +#define _IOLBF 0x40 +#endif +#ifndef _IONBF +#define _IONBF 0x04 #endif void -- 1.7.0.4