From 4364102a21bfc1ef36cdbac6918f1947e6eca711 Mon Sep 17 00:00:00 2001 From: Viktor Uzlov Date: Wed, 24 Mar 2021 16:03:23 +0300 Subject: [PATCH] fix for OS Windows --- src/MEDLoader/MEDMESHConverterUtilities.hxx | 4 ++-- src/MEDLoader/libmesh5.hxx | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/MEDLoader/MEDMESHConverterUtilities.hxx b/src/MEDLoader/MEDMESHConverterUtilities.hxx index 022eb034a..f0a2fd4f2 100644 --- a/src/MEDLoader/MEDMESHConverterUtilities.hxx +++ b/src/MEDLoader/MEDMESHConverterUtilities.hxx @@ -114,8 +114,8 @@ class Localizer { std::string _locale; public: - Localizer(); - ~Localizer(); + MEDLOADER_EXPORT Localizer(); + MEDLOADER_EXPORT ~Localizer(); }; } diff --git a/src/MEDLoader/libmesh5.hxx b/src/MEDLoader/libmesh5.hxx index df8a37ad9..e41f6fa13 100644 --- a/src/MEDLoader/libmesh5.hxx +++ b/src/MEDLoader/libmesh5.hxx @@ -51,6 +51,8 @@ // see MeshGems/Docs/meshgems_formats_description.pdf extern const char* GmfKwdFmt[ GmfMaxKwd + 1 ][4]; +// occ/24009 +#include "MEDLoaderDefines.hxx" /*----------------------------------------------------------*/ /* Structures */ /*----------------------------------------------------------*/ @@ -174,14 +176,14 @@ class MeshFormatParser { /* External procedures */ /*----------------------------------------------------------*/ public : - MeshFormatParser(); - int GmfOpenMesh(const char *, int, ...); - int GmfCloseMesh(int); + MEDLOADER_EXPORT MeshFormatParser(); + MEDLOADER_EXPORT int GmfOpenMesh(const char *, int, ...); + MEDLOADER_EXPORT int GmfCloseMesh(int); int GmfStatKwd(int, int, ...); int GmfGotoKwd(int, int); - int GmfSetKwd(int, int, ...); + MEDLOADER_EXPORT int GmfSetKwd(int, int, ...); void GmfGetLin(int, int, ...); - void GmfSetLin(int, int, ...); + MEDLOADER_EXPORT void GmfSetLin(int, int, ...); private : -- 2.39.2