From d16ce3759f1bb2a37d55c3a8219ffed9f953c76f Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 24 Mar 2022 20:45:03 +0100 Subject: [PATCH] Inspection: include header with export macros --- src/Mod/Inspection/App/InspectionFeature.h | 1 + src/Mod/Inspection/App/PreCompiled.h | 13 ------------- src/Mod/Inspection/Gui/PreCompiled.h | 13 ------------- 3 files changed, 1 insertion(+), 26 deletions(-) diff --git a/src/Mod/Inspection/App/InspectionFeature.h b/src/Mod/Inspection/App/InspectionFeature.h index ea755ec88c..3a5409d049 100644 --- a/src/Mod/Inspection/App/InspectionFeature.h +++ b/src/Mod/Inspection/App/InspectionFeature.h @@ -27,6 +27,7 @@ #include #include +#include class TopoDS_Shape; diff --git a/src/Mod/Inspection/App/PreCompiled.h b/src/Mod/Inspection/App/PreCompiled.h index 8575b976fc..d08324db1e 100644 --- a/src/Mod/Inspection/App/PreCompiled.h +++ b/src/Mod/Inspection/App/PreCompiled.h @@ -26,19 +26,6 @@ #include -// Exporting of App classes -#ifdef FC_OS_WIN32 -# define InspectionExport __declspec(dllexport) -# define MeshExport __declspec(dllimport) -# define PointsExport __declspec(dllimport) -# define PartExport __declspec(dllimport) -#else // for Linux -# define InspectionExport -# define MeshExport -# define PointsExport -# define PartExport -#endif - #ifdef _MSC_VER # pragma warning(disable : 4290) # pragma warning(disable : 4275) diff --git a/src/Mod/Inspection/Gui/PreCompiled.h b/src/Mod/Inspection/Gui/PreCompiled.h index b0a131ea2d..f80b346f42 100644 --- a/src/Mod/Inspection/Gui/PreCompiled.h +++ b/src/Mod/Inspection/Gui/PreCompiled.h @@ -26,19 +26,6 @@ #include -// Importing of App classes -#ifdef FC_OS_WIN32 -# define MeshExport __declspec(dllimport) -# define PointsExport __declspec(dllimport) -# define InspectionExport __declspec(dllimport) -# define InspectionGuiExport __declspec(dllexport) -#else // for Linux -# define MeshExport -# define PointsExport -# define InspectionExport -# define InspectionGuiExport -#endif - #ifdef FC_OS_WIN32 # ifndef NOMINMAX # define NOMINMAX