-// Copyright (C) 2021-2022 CEA/DEN, EDF R&D
+// Copyright (C) 2021-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <fstream>
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__APPLE__)
#include <features.h>
#endif