summaryrefslogtreecommitdiff
path: root/ace/Handle_Set.i
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-06 03:01:24 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-06 03:01:24 +0000
commit380d7a77898c6b943b7c8a0be6d32f1d4fdae343 (patch)
treec2db03fceabaa990a54c26bf3f4a8e28303690fa /ace/Handle_Set.i
parent35f04d07014d41dfc8d6643d73f577ffe3991b88 (diff)
downloadATCD-380d7a77898c6b943b7c8a0be6d32f1d4fdae343.tar.gz
Added conditional compilation code in operator fd_set *.
Diffstat (limited to 'ace/Handle_Set.i')
-rw-r--r--ace/Handle_Set.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Handle_Set.i b/ace/Handle_Set.i
index 023f3a44a1b..f48753826ef 100644
--- a/ace/Handle_Set.i
+++ b/ace/Handle_Set.i
@@ -129,9 +129,13 @@ ACE_Handle_Set::operator fd_set *()
{
ACE_TRACE ("ACE_Handle_Set::operator ACE_FD_SET_TYPE *");
+#if defined (ACE_WIN32)
+ return (fd_set*) &this->mask_;
+#else
if (this->size_ > 0)
return (fd_set*) &this->mask_;
else
return (fd_set*) NULL;
+#endif /* ACE_WIN32 */
}