From: Marcus Brinkmann Date: Wed, 12 May 2010 12:47:18 +0000 (+0200) Subject: Fix _IOLBF for Windows CE and also define _IONBF if needed. X-Git-Tag: dbus-1.3.1~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1af558a6206152722a8851b11661d2015aac38b5;p=thirdparty%2Fdbus.git Fix _IOLBF for Windows CE and also define _IONBF if needed. --- diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index 127e82d7c..d20faa525 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