Salome HOME
updated copyright message
[tools/medcoupling.git] / src / MEDLoader / MeshFormatReader.hxx
index 067073f25b8fee99c9feafff377fe793d3fe82ce..e7215f0b9f79283ce8e0aef323b0a4bc19c539a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021  CEA/DEN, EDF R&D
+// Copyright (C) 2021-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -35,7 +35,7 @@
 
 #include <fstream>
 
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__APPLE__)
 #include <features.h>
 #endif
 
@@ -144,6 +144,7 @@ namespace MEDCoupling
         return _meshFormatFamsNodes;
         break;
       }
+      THROW_IK_EXCEPTION("getMapAtLevel : dimRelMax must be in [0,-1,-2,1]");
     }
 
   public: