]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Change needed on HP and Alpha
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Jul 2004 08:27:08 +0000 (08:27 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Jul 2004 08:27:08 +0000 (08:27 +0000)
HLT/src/AliL3TPCBeamTestMemHandler.cxx

index 376f327630eae539fa9ac1c19787ddfdf8702397..3404e5acefb2ec2a844787eedbf3f1eae7b20abf 100644 (file)
@@ -39,7 +39,11 @@ AliL3TPCBeamTestMemHandler::AliL3TPCBeamTestMemHandler(Char_t *fPathToMappingFil
   Int_t oldPos=0;
   ifstream *in = new ifstream();
   in->open(fPathToMappingFile); 
   Int_t oldPos=0;
   ifstream *in = new ifstream();
   in->open(fPathToMappingFile); 
+#if defined(__HP_aCC) || defined(__DECCXX)
+  if(!in.rdbuf()->is_open()){
+#else
   if(!in->is_open()){
   if(!in->is_open()){
+#endif
     LOG(AliL3Log::kFatal,"AliL3TPCBeamTestMemHandler","Mapping File")
        <<"Can't open file " << fPathToMappingFile << " !!!" <<ENDLOG;
   }
     LOG(AliL3Log::kFatal,"AliL3TPCBeamTestMemHandler","Mapping File")
        <<"Can't open file " << fPathToMappingFile << " !!!" <<ENDLOG;
   }