From 94acf99432ee9879685683be325e1bfc3d2c348e Mon Sep 17 00:00:00 2001 From: CaS Date: Sat, 23 Jul 2005 13:43:31 +0000 Subject: [PATCH] Minor tidyup git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21520 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 ++ Headers/Foundation/NSRunLoop.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 005b7d705..2f88512a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ the additions library is built standalone on MacOS-X * Source/GNUmakefile: Don't build base subprojects when only building additions library! + * Headers/Foundation/NSRunLoop.h: Tidy up enumerated type, simplifying + mingw ifdefs 2005-07-22 Richard Frith-Macdonald diff --git a/Headers/Foundation/NSRunLoop.h b/Headers/Foundation/NSRunLoop.h index 19f3b59db..5e1bbc733 100644 --- a/Headers/Foundation/NSRunLoop.h +++ b/Headers/Foundation/NSRunLoop.h @@ -110,13 +110,11 @@ GS_EXPORT NSString * const NSDefaultRunLoopMode; typedef enum { #ifdef __MINGW__ ET_HANDLE, + ET_RPORT /* Watch for message arriving on port. */ #else ET_RDESC, /* Watch for descriptor becoming readable. */ ET_WDESC, /* Watch for descriptor becoming writeable. */ -#endif ET_RPORT, /* Watch for message arriving on port. */ -/* For binary compatibility we have an extra ifdef... */ -#ifndef __MINGW__ ET_EDESC /* Watch for descriptor with out-of-band data. */ #endif } RunLoopEventType;