diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-07 14:59:40 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-07 14:59:40 +0000 |
commit | b4eda7eb60f72f4b4d6a4693ce4ad7a48afe4ab2 (patch) | |
tree | 7471c71d9d488496477cfe533b45975c6848d00b /STL | |
parent | 14c2922291e8bbb7a229e5d3d120813db327da45 (diff) | |
download | ATCD-b4eda7eb60f72f4b4d6a4693ce4ad7a48afe4ab2.tar.gz |
only #define bool, etc., if _MSC_VER is #defined.
Diffstat (limited to 'STL')
-rw-r--r-- | STL/bool.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/STL/bool.h b/STL/bool.h index 095ee898ad0..c987b3f9e46 100644 --- a/STL/bool.h +++ b/STL/bool.h @@ -1,25 +1,24 @@ - +K// $Id$ #if !defined (ACE_BOOL_H) #define ACE_BOOL_H // Define bool out of the std namespace. -#if (_MSC_VER > 1010) -#include /**/ <yvals.h> -#else -#if !defined (bool) -#define bool int -#endif /* bool */ - -#if !defined (true) -#define true 1 -#endif /* true */ - -#if !defined (false) -#define false 0 -#endif /* false */ - -#endif /* WIN32 */ +#if defined (_MSC_VER) && _MSC_VER > 1010 +# include /**/ <yvals.h> +#else /* ! (_MSC_VER > 1010) */ +# if !defined (bool) +# define bool int +# endif /* bool */ + +# if !defined (true) +# define true 1 +# endif /* true */ + +# if !defined (false) +# define false 0 +# endif /* false */ +#endif /* ! (_MSC_VER > 1010) */ /* |