From 1af558a6206152722a8851b11661d2015aac38b5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 12 May 2010 14:47:18 +0200 Subject: Fix _IOLBF for Windows CE and also define _IONBF if needed. --- tools/dbus-monitor.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index 127e82d7..d20faa52 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 -- cgit v1.2.3