summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-12 11:20:21 +0000
committerPavel Labath <labath@google.com>2016-08-12 11:20:21 +0000
commitfdb2d99eaf9fd6b3f75b1294c92a327f2ad0c480 (patch)
treed0e5a7230288c8260ce3d096ed0431d09fe992a7 /clang
parentbe976d4ea92707106468d24d1d8a70f466420b70 (diff)
downloadbcm5719-llvm-fdb2d99eaf9fd6b3f75b1294c92a327f2ad0c480.tar.gz
bcm5719-llvm-fdb2d99eaf9fd6b3f75b1294c92a327f2ad0c480.zip
Fix-up r278299 for windows
FD_SETSIZE on windows limits the number of file descriptors, rather than their individual magnitude (the underlying implementation uses an array rather than a bitset). This meant that the assert in the SelectHelper was incorrect, and failing all the time. Fix that. I am not sure whether this should be #ifdef MSVC, or #ifdef WINDOWS, but my feeling is that a more posix-conforming implementation on windows would choose the bitset implementation, so I'm sticking with the former. llvm-svn: 278500
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud