1 // @(#)root/base:$Id$ 2 // Author: Philippe Canal 23/2/02 3 4 /************************************************************************* 5 * Copyright (C) 1995-2002, Rene Brun, Fons Rademakers and al. * 6 * All rights reserved. * 7 * * 8 * For the licensing terms see $ROOTSYS/LICENSE. * 9 * For the list of contributors see $ROOTSYS/README/CREDITS. * 10 *************************************************************************/ 11 12 #ifndef ROOT_Rtypeinfo 13 #define ROOT_Rtypeinfo 14 15 #ifndef ROOT_RConfig 16 #include "RConfig.h" 17 #endif 18 19 #if defined(R__SOLARIS) 20 21 // <typeinfo> includes <exception> which clashes with <math.h> 22 //#include <typeinfo.h> 23 namespace std { class type_info; } 24 using std::type_info; 25 26 #elif defined(R__GLOBALSTL) 27 28 #include <typeinfo> 29 30 #else 31 32 #include <typeinfo> 33 using std::type_info; 34 35 #endif 36 37 #endif 38