From a12ce8b46ac23acb883772599ee79d6cd9e8a63a Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 2 May 2012 07:18:36 +0000 Subject: [PATCH] Compilation on Win32 platform. --- src/GHS3DPRLPlugin/GHS3DPRLPlugin_Defs.hxx | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 src/GHS3DPRLPlugin/GHS3DPRLPlugin_Defs.hxx diff --git a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_Defs.hxx b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_Defs.hxx new file mode 100755 index 0000000..3c5d519 --- /dev/null +++ b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_Defs.hxx @@ -0,0 +1,37 @@ +// Copyright (C) 2004-2012 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. +// +// 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 +// + +//============================================================================= +// File : GHS3DPlugin_Defs.hxx +// Author : Alexander A. BORODIN +// +#ifndef _GHS3DPRLPlugin_DEFS_HXX_ +#define _GHS3DPRLPlugin_DEFS_HXX_ + +#ifdef WIN32 + #if defined GHS3DPRLPLUGIN_EXPORTS || defined GHS3DPRLEngine_EXPORTS + #define GHS3DPRLPLUGIN_EXPORT __declspec( dllexport ) + #else + #define GHS3DPRLPLUGIN_EXPORT __declspec( dllimport ) + #endif +#else + #define GHS3DPRLPLUGIN_EXPORT +#endif + +#endif -- 2.39.2