summaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socketengine.h')
-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.