X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData.h;h=2616c84e1db7f88ab38311b0ce3085fa20b60df3;hb=e2faff1d724922e34c3e8613906380ac5e3fbd7d;hp=220feb939a281d15e92aca1e32180756cfb255d6;hpb=5e350d1b82873d4a8b4844d4026221635ebedf10;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData.h b/src/HYDROData/HYDROData.h index 220feb93..2616c84e 100644 --- a/src/HYDROData/HYDROData.h +++ b/src/HYDROData/HYDROData.h @@ -1,18 +1,40 @@ +// Copyright (C) 2014-2015 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, 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 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + #ifndef HYDRODATA_H #define HYDRODATA_H -#if defined HYDRODATA_EXPORTS -#if defined WIN32 -#define HYDRODATA_EXPORT __declspec( dllexport ) -#else -#define HYDRODATA_EXPORT -#endif +#ifdef HYDRODATA_STATIC + #define HYDRODATA_EXPORT #else -#if defined WIN32 -#define HYDRODATA_EXPORT __declspec( dllimport ) -#else -#define HYDRODATA_EXPORT -#endif + #ifdef HYDRODATA_EXPORTS + #ifdef WIN32 + #define HYDRODATA_EXPORT __declspec( dllexport ) + #else + #define HYDRODATA_EXPORT + #endif + #else + #ifdef WIN32 + #define HYDRODATA_EXPORT __declspec( dllimport ) + #else + #define HYDRODATA_EXPORT + #endif + #endif #endif #endif