From 1050b1926f50a7bae7fbd0e42810ce9966920380 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 3 Feb 2020 15:03:49 +0100 Subject: [PATCH] fix flaws to add PreCompiled.h inside normal header files --- src/Gui/TextDocumentEditorView.h | 2 -- src/Mod/Assembly/App/Solver/Solver.h | 2 -- src/Mod/Fem/App/PropertyPostDataObject.h | 2 -- src/Mod/Fem/Gui/PreCompiled.h | 2 ++ 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Gui/TextDocumentEditorView.h b/src/Gui/TextDocumentEditorView.h index 69a256d8c2..eb64a8e723 100644 --- a/src/Gui/TextDocumentEditorView.h +++ b/src/Gui/TextDocumentEditorView.h @@ -24,8 +24,6 @@ #ifndef GUI_TEXTDOCUMENTEDITORVIEW_H #define GUI_TEXTDOCUMENTEDITORVIEW_H -#include "PreCompiled.h" - #include #include #include diff --git a/src/Mod/Assembly/App/Solver/Solver.h b/src/Mod/Assembly/App/Solver/Solver.h index a79868abd0..4a8137ff93 100644 --- a/src/Mod/Assembly/App/Solver/Solver.h +++ b/src/Mod/Assembly/App/Solver/Solver.h @@ -23,8 +23,6 @@ #ifndef SOLVER_H #define SOLVER_H -#include "PreCompiled.h" - #include "opendcm/core.hpp" #ifdef ASSEMBLY_DEBUG_FACILITIES diff --git a/src/Mod/Fem/App/PropertyPostDataObject.h b/src/Mod/Fem/App/PropertyPostDataObject.h index b48bc64d68..e4235ed6da 100644 --- a/src/Mod/Fem/App/PropertyPostDataObject.h +++ b/src/Mod/Fem/App/PropertyPostDataObject.h @@ -24,8 +24,6 @@ #ifndef FEM_PROPERTYPOSTDATASET_H #define FEM_PROPERTYPOSTDATASET_H -#include "PreCompiled.h" - #include #include #include diff --git a/src/Mod/Fem/Gui/PreCompiled.h b/src/Mod/Fem/Gui/PreCompiled.h index b63b766a0c..077b4b357d 100644 --- a/src/Mod/Fem/Gui/PreCompiled.h +++ b/src/Mod/Fem/Gui/PreCompiled.h @@ -29,11 +29,13 @@ // Importing of App classes #ifdef FC_OS_WIN32 # define AppFemExport __declspec(dllimport) +# define FemExport __declspec(dllimport) # define PartExport __declspec(dllimport) # define FemGuiExport __declspec(dllexport) #else // for Linux # define PartExport # define AppFemExport +# define FemExport # define FemGuiExport #endif