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 376f327..3404e5a 100644 (file)
@@ -39,7 +39,11 @@ AliL3TPCBeamTestMemHandler::AliL3TPCBeamTestMemHandler(Char_t *fPathToMappingFil
   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()){
+#endif
     LOG(AliL3Log::kFatal,"AliL3TPCBeamTestMemHandler","Mapping File")
        <<"Can't open file " << fPathToMappingFile << " !!!" <<ENDLOG;
   }