summaryrefslogtreecommitdiff
path: root/ACE/ace/config-macros.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-07-28 13:40:01 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-07-28 13:40:01 +0000
commit1214dd51d360c594803639872e901490246b2ba4 (patch)
tree20cc205d48fb6a7f16e5e1764ef78ffd47844831 /ACE/ace/config-macros.h
parent301c008773a6f0ccf53a577ff3bdf405f0d1bc7e (diff)
downloadATCD-1214dd51d360c594803639872e901490246b2ba4.tar.gz
Mon Jul 28 13:39:13 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/config-macros.h')
-rw-r--r--ACE/ace/config-macros.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/ACE/ace/config-macros.h b/ACE/ace/config-macros.h
index 377ba7215a4..b3ce32c8c23 100644
--- a/ACE/ace/config-macros.h
+++ b/ACE/ace/config-macros.h
@@ -449,32 +449,19 @@
while (0)
#if defined (ACE_WIN32)
-# if defined (__BORLANDC__) && (__BORLANDC__ <= 0x550)
-# define ACE_WIN32CALL_RETURN(X,TYPE,FAILVALUE) \
- do { \
- TYPE ace_result_; \
- TYPE ace_local_result_ = (TYPE) X; \
- ace_result_ = ace_local_result_; \
- if (ace_result_ == FAILVALUE) \
- ACE_OS::set_errno_to_last_error (); \
- return ace_result_; \
- } while (0)
-# else
-# define ACE_WIN32CALL_RETURN(X,TYPE,FAILVALUE) \
+# define ACE_WIN32CALL_RETURN(X,TYPE,FAILVALUE) \
do { \
TYPE ace_result_ = (TYPE) X; \
if (ace_result_ == FAILVALUE) \
ACE_OS::set_errno_to_last_error (); \
return ace_result_; \
} while (0)
-# endif /* defined (__BORLANDC__) && (__BORLANDC__ <= 0x550) */
-# define ACE_WIN32CALL(X,TYPE,FAILVALUE,RESULT) \
+# define ACE_WIN32CALL(X,TYPE,FAILVALUE,RESULT) \
do { \
RESULT = (TYPE) X; \
if (RESULT == FAILVALUE) \
ACE_OS::set_errno_to_last_error (); \
} while (0)
-
#endif /* ACE_WIN32 */
// The C99 security-improved run-time returns an error value on failure;