diff options
| author | weidai <weidai11@users.noreply.github.com> | 2006-12-14 11:41:39 +0000 |
|---|---|---|
| committer | weidai <weidai11@users.noreply.github.com> | 2006-12-14 11:41:39 +0000 |
| commit | 4afd858ae4974f82f9997b9184bc3d8d71d29b6e (patch) | |
| tree | be3960f1424e79719ea9c5f6152df003bc1c44f3 /socketft.h | |
| parent | 0f5ff1a06380139d0e93ba7cda3923d2c41cd866 (diff) | |
| download | cryptopp-git-4afd858ae4974f82f9997b9184bc3d8d71d29b6e.tar.gz | |
port to Borland C++Builder 2006
Diffstat (limited to 'socketft.h')
| -rw-r--r-- | socketft.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
