From b4b72f17fcdb16926cef3f0086ae70bdcda27b2d Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 30 Jan 2008 09:38:41 +0000 Subject: [PATCH] PAL18696 SMESH : version of MED export add macro for WIN --- src/DriverMED/SMESH_DriverMED.hxx | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 src/DriverMED/SMESH_DriverMED.hxx diff --git a/src/DriverMED/SMESH_DriverMED.hxx b/src/DriverMED/SMESH_DriverMED.hxx new file mode 100755 index 000000000..50eb79bc4 --- /dev/null +++ b/src/DriverMED/SMESH_DriverMED.hxx @@ -0,0 +1,39 @@ +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// 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. +// +// 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SMESH_DriverMED.hxx +// Author : Alexander A. BORODIN +// Module : SMESH + +#ifndef _SMESH_DriverMED_HXX_ +#define _SMESH_DriverMED_HXX_ + +#ifdef WNT + #if defined MESHDRIVERMED_EXPORTS + #define MESHDRIVERMED_EXPORT __declspec( dllexport ) + #else + #define MESHDRIVERMED_EXPORT __declspec( dllimport ) + #endif +#else + #define MESHDRIVERMED_EXPORT +#endif + +#endif -- 2.39.2