diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-25 23:39:30 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-25 23:39:30 +0000 |
commit | 4eb73f73aebcbd67c02a55ef37fdd2c8a1c9fadf (patch) | |
tree | dbff6e1e24da7d6c74daa401fb5eb554abb002b2 /ace/config-win32-common.h | |
parent | afca6635f6000dba2a21a923df11064cb2a9cbdb (diff) | |
download | ATCD-4eb73f73aebcbd67c02a55ef37fdd2c8a1c9fadf.tar.gz |
Added macro definitions to disable C++-styled casting by default.
Diffstat (limited to 'ace/config-win32-common.h')
-rw-r--r-- | ace/config-win32-common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h index 0060d1cc1e3..d56f32a0523 100644 --- a/ace/config-win32-common.h +++ b/ace/config-win32-common.h @@ -12,7 +12,6 @@ // Platform supports pread() and pwrite() #define ACE_HAS_P_READ_WRITE #define ACE_LACKS_GETPGID -#define ACE_HAS_ANSI_CASTS #define ACE_HAS_THREAD_SAFE_ACCEPT #define ACE_HAS_EXCEPTIONS #define ACE_LACKS_SIGACTION @@ -28,6 +27,10 @@ #define ACE_LACKS_UNISTD_H #define ACE_LACKS_RLIMIT +#if defined ACE_HAS_ANSI_CASTS && (ACE_HAS_ANSI_CASTS == 0) +#undef ACE_HAS_ANSI_CASTS +#endif /* ACE_HAS_ANSI_CASTS && ACE_HAS_ANSI_CASTS == 0 */ + // Only MSVC 5.0 definitions #if (_MSC_VER >= 1100 || __BORLANDC__ >= 0x500) #define ACE_HAS_SIG_ATOMIC_T |