summaryrefslogtreecommitdiff
path: root/socketft.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-14 11:41:39 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-14 11:41:39 +0000
commit4afd858ae4974f82f9997b9184bc3d8d71d29b6e (patch)
treebe3960f1424e79719ea9c5f6152df003bc1c44f3 /socketft.h
parent0f5ff1a06380139d0e93ba7cda3923d2c41cd866 (diff)
downloadcryptopp-git-4afd858ae4974f82f9997b9184bc3d8d71d29b6e.tar.gz
port to Borland C++Builder 2006
Diffstat (limited to 'socketft.h')
-rw-r--r--socketft.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/socketft.h b/socketft.h
index d23dd40e..e414aa68 100644
--- a/socketft.h
+++ b/socketft.h
@@ -94,6 +94,8 @@ public:
#ifdef USE_WINDOWS_STYLE_SOCKETS
void CheckAndHandleError(const char *operation, BOOL result) const
{assert(result==TRUE || result==FALSE); if (!result) HandleError(operation);}
+ void CheckAndHandleError(const char *operation, bool result) const
+ {if (!result) HandleError(operation);}
#endif
//! look up the port number given its name, returns 0 if not found