diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-27 12:49:27 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-31 17:18:57 +0900 |
commit | 1a970c2afc4e53022428cf2aa83c333fa31f2bbd (patch) | |
tree | f866542d0c62a2766021e753ce9a5e0a1ec01020 /tderesources/groupwise/soap | |
parent | 3f74eb8afdac3c84b4179f25ca275f9b3b50ba5c (diff) | |
download | tdepim-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')
-rw-r--r-- | tderesources/groupwise/soap/stdsoap2.cpp | 8 | ||||
-rw-r--r-- | tderesources/groupwise/soap/stdsoap2.h | 11 |
2 files changed, 0 insertions, 19 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; diff --git a/tderesources/groupwise/soap/stdsoap2.h b/tderesources/groupwise/soap/stdsoap2.h index adb5037b5..795b25287 100644 --- a/tderesources/groupwise/soap/stdsoap2.h +++ b/tderesources/groupwise/soap/stdsoap2.h @@ -139,14 +139,6 @@ A commercial use license is available from Genivia, Inc., contact@genivia.com # endif #endif -#ifdef __BORLANDC__ -# ifdef __WIN32__ -# ifndef WIN32 -# define WIN32 -# endif -# endif -#endif - #ifdef __CYGWIN__ # ifndef CYGWIN # define CYGWIN @@ -560,9 +552,6 @@ extern "C" { #elif defined(UNDER_CE) # define LONG64 __int64 # define ULONG64 unsigned LONG64 -#elif defined(__BORLANDC__) -# define LONG64 __int64 -# define ULONG64 unsigned LONG64 #endif #if defined(WIN32) |