Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5b9693c
)
THRIFT-1524 TNonBlockingServer does not compile in Visual Studio 2010
author
Roger Meier
<roger@apache.org>
Tue, 28 Feb 2012 20:34:06 +0000
(20:34 +0000)
committer
Roger Meier
<roger@apache.org>
Tue, 28 Feb 2012 20:34:06 +0000
(20:34 +0000)
Patch: Christian Taedcke
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294819
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/windows/config.h
patch
|
blob
|
history
diff --git
a/lib/cpp/src/windows/config.h
b/lib/cpp/src/windows/config.h
index
c4bf9f3
..
d875094
100644
(file)
--- a/
lib/cpp/src/windows/config.h
+++ b/
lib/cpp/src/windows/config.h
@@
-142,9
+142,9
@@
inline int poll_win32(LPWSAPOLLFD fdArray, ULONG nfds, INT timeout)
}
#endif // WINVER
-inline
void
close(SOCKET socket)
+inline
int
close(SOCKET socket)
{
- ::closesocket(socket);
+
return
::closesocket(socket);
}
#endif // _THRIFT_WINDOWS_CONFIG_H_