From 744db7fe1db8e148ce1fa0a3790934cffb1cf75f Mon Sep 17 00:00:00 2001 From: Boris Gubenko Date: Sat, 9 Jun 2007 18:25:19 +0000 Subject: [PATCH] add conditionalization for aCC and cxx [SVN r37953] --- include/boost/typeof/typeof.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/boost/typeof/typeof.hpp b/include/boost/typeof/typeof.hpp index a124e4c..a25e761 100755 --- a/include/boost/typeof/typeof.hpp +++ b/include/boost/typeof/typeof.hpp @@ -105,6 +105,24 @@ # endif*/ # endif +#elif defined(__HP_aCC) +# ifndef BOOST_TYPEOF_NATIVE +# ifndef BOOST_TYPEOF_EMULATION +# define BOOST_TYPEOF_EMULATION +# endif +# else +# error native typeof is not supported +# endif + +#elif defined(__DECCXX) +# ifndef BOOST_TYPEOF_NATIVE +# ifndef BOOST_TYPEOF_EMULATION +# define BOOST_TYPEOF_EMULATION +# endif +# else +# error native typeof is not supported +# endif + #else //unknown compiler # ifndef BOOST_TYPEOF_NATIVE # ifndef BOOST_TYPEOF_EMULATION