X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCoupling.hxx;h=676cb2b7dab550bda320039f9199388f9e62b2dc;hb=9abc40a840f69fd7f07b356cd31876b64dc81e14;hp=d732798dedba48184141616b869c400d292b6e3e;hpb=10f37bf6f33a762626d7f1093b2f5450c1688667;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCoupling.hxx b/src/MEDCoupling/MEDCoupling.hxx index d732798de..676cb2b7d 100644 --- a/src/MEDCoupling/MEDCoupling.hxx +++ b/src/MEDCoupling/MEDCoupling.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,12 +16,13 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +// Author : Anthony Geay (CEA/DEN) #ifndef _MEDCOUPLING_HXX_ #define _MEDCOUPLING_HXX_ -#ifdef WNT -# if defined medcoupling_EXPORTS +#ifdef WIN32 +# if defined(medcoupling_EXPORTS) || defined(medcouplingcpp_EXPORTS) # define MEDCOUPLING_EXPORT __declspec( dllexport ) # else # define MEDCOUPLING_EXPORT __declspec( dllimport ) @@ -30,7 +31,7 @@ # define MEDCOUPLING_EXPORT #endif -#ifdef WNT +#ifdef WIN32 # if defined medcouplingremapper_EXPORTS # define MEDCOUPLINGREMAPPER_EXPORT __declspec( dllexport ) # else @@ -40,7 +41,7 @@ # define MEDCOUPLINGREMAPPER_EXPORT #endif -#ifdef WNT +#ifdef WIN32 #pragma warning( disable : 4290 ) #endif