summaryrefslogtreecommitdiffstats
path: root/tderesources/groupwise/soap/stdsoap2.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-27 12:49:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-31 17:18:57 +0900
commit1a970c2afc4e53022428cf2aa83c333fa31f2bbd (patch)
treef866542d0c62a2766021e753ce9a5e0a1ec01020 /tderesources/groupwise/soap/stdsoap2.cpp
parent3f74eb8afdac3c84b4179f25ca275f9b3b50ba5c (diff)
downloadtdepim-1a970c2afc4e53022428cf2aa83c333fa31f2bbd.tar.gz
tdepim-1a970c2afc4e53022428cf2aa83c333fa31f2bbd.zip
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6b1f9116760b2a693428cc93a0304dd3d7d2856a)
Diffstat (limited to 'tderesources/groupwise/soap/stdsoap2.cpp')
-rw-r--r--tderesources/groupwise/soap/stdsoap2.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tderesources/groupwise/soap/stdsoap2.cpp b/tderesources/groupwise/soap/stdsoap2.cpp
index e3d42998e..dfe0afc75 100644
--- a/tderesources/groupwise/soap/stdsoap2.cpp
+++ b/tderesources/groupwise/soap/stdsoap2.cpp
@@ -4243,15 +4243,11 @@ soap_begin_send(struct soap *soap)
#ifndef UNDER_CE
#ifndef WITH_FASTCGI
if (!soap_valid_socket(soap->socket)) /* Set win32 stdout or soap->sendfd to BINARY, e.g. to support DIME */
-#ifdef __BORLANDC__
- setmode((SOAP_SOCKET)soap->sendfd, O_BINARY);
-#else
_setmode((SOAP_SOCKET)soap->sendfd, _O_BINARY);
#endif
#endif
#endif
#endif
-#endif
if (soap->mode & SOAP_IO)
{ soap->bufidx = 0;
soap->buflen = 0;
@@ -10818,14 +10814,10 @@ soap_begin_recv(struct soap *soap)
#ifndef UNDER_CE
#ifndef WITH_FASTCGI
if (!soap_valid_socket(soap->socket))
-#ifdef __BORLANDC__
- setmode((SOAP_SOCKET)soap->recvfd, O_BINARY);
-#else
_setmode((SOAP_SOCKET)soap->recvfd, _O_BINARY);
#endif
#endif
#endif
-#endif
#ifdef WITH_ZLIB
soap->mode &= ~SOAP_ENC_ZLIB;
soap->zlib_in = SOAP_ZLIB_NONE;