-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2007-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
#define _MEDCOUPLING_HXX_
#ifdef WIN32
-# if defined medcoupling_EXPORTS
+# if defined(medcoupling_EXPORTS) || defined(medcouplingcpp_EXPORTS)
# define MEDCOUPLING_EXPORT __declspec( dllexport )
# else
# define MEDCOUPLING_EXPORT __declspec( dllimport )