diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-20 13:28:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-20 13:28:54 (GMT) |
commit | 572e5146f8a88894c86c4652add4d4134779ff60 (patch) | |
tree | 5d6a5a4042a7e1432fcc52c6ddf88ee94e369b23 /Source/cmStandardIncludes.h | |
parent | da17f30cb515775000ec7dd1d3fab8b3621c2587 (diff) | |
download | CMake-572e5146f8a88894c86c4652add4d4134779ff60.zip CMake-572e5146f8a88894c86c4652add4d4134779ff60.tar.gz CMake-572e5146f8a88894c86c4652add4d4134779ff60.tar.bz2 |
define hacks and such for the dec compiler
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 0b0852a..bf4d8a1 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -102,12 +102,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # if (_COMPILER_VERSION >= 730) # define CM_SGI_CC_730 # elif (_COMPILER_VERSION >= 720) -# define CM_SGI_CC_720 +# define CM_HAS_STD_BUT_NOT_FOR_IOSTREAM # endif #endif -# ifdef CM_SGI_CC_720 -// the 720 sgi compiler has std:: but not for the stream library, +#ifdef __DECCXX_VER +# if __DECCXX_VER <= 60390002 +# define CM_HAS_STD_BUT_NOT_FOR_IOSTREAM +# endif +#endif + +#ifdef CM_HAS_STD_BUT_NOT_FOR_IOSTREAM +// some compilers have std:: but not for the stream library, // so we have to bring it into the std namespace by hand. namespace std { using ::ostream; |