summaryrefslogtreecommitdiff
path: root/ace/Handle_Set.i
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-05 18:46:25 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-05 18:46:25 +0000
commit5de1eb7bee84099979e78e51530503c12591bbc8 (patch)
tree04905a5e4c8b8a647bbca24e9a93bcd0413d6acb /ace/Handle_Set.i
parentb1a1da4f0a81256b4a6a667defdd9f199f7ce377 (diff)
downloadATCD-5de1eb7bee84099979e78e51530503c12591bbc8.tar.gz
In ACE_Handle_Set::operator fdset *(), added conditional compilation for
ACE_WIN32 because we don't do optimization on size of fd_set on NT.
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 e814973a1ed..0dea91af06e 100644
--- a/ace/Handle_Set.i
+++ b/ace/Handle_Set.i
@@ -111,9 +111,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 */
}