From 17d318c9decb96cc079e6b2e9707edc48322100e Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 27 Jul 2007 18:16:09 +0000 Subject: Removal of some ifdefs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7598 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socketengine.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'include/socketengine.h') diff --git a/include/socketengine.h b/include/socketengine.h index 112496656..30ae0cb1a 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -133,24 +133,23 @@ class CoreExport EventHandler : public Extensible */ virtual void HandleEvent(EventType et, int errornum = 0) = 0; -#ifdef WINDOWS - - /** "Fake" file descriptor. This is windows-specific. + /** "Fake" file descriptor. Some platforms use this, others dont. */ int m_internalFd; /** Pointer to read event. We delete this so the buffer can't be used - * after the socket is deleted, and so it doesn't leak memory + * after the socket is deleted, and so it doesn't leak memory. + * Used by windows. */ void* m_readEvent; - /** Pointer to a write event. + + /** Pointer to a write event. Used by windows. */ void* m_writeEvent; - /** Pointer to an accept event. + + /** Pointer to an accept event. Used by windows. */ void* m_acceptEvent; - -#endif }; /** Provides basic file-descriptor-based I/O support. -- cgit v1.2.3