summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 18:16:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 18:16:09 +0000
commit17d318c9decb96cc079e6b2e9707edc48322100e (patch)
tree04c8295387947a55f27e760cae5330c68efb0d90 /include
parentd59b89205e09270d51f303b86ec6d71f36087a79 (diff)
Removal of some ifdefs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7598 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/socketengine.h15
1 files changed, 7 insertions, 8 deletions
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.