diff --git a/src/Mod/Path/PathGlobal.h b/src/Mod/Path/PathGlobal.h index ce2a5f774f..04e0505d95 100644 --- a/src/Mod/Path/PathGlobal.h +++ b/src/Mod/Path/PathGlobal.h @@ -44,4 +44,13 @@ #endif #endif +// PathSimulator +#ifndef PathSimulatorExport +#ifdef PathSimulator_EXPORTS +# define PathSimulatorExport FREECAD_DECL_EXPORT +#else +# define PathSimulatorExport FREECAD_DECL_IMPORT +#endif +#endif + #endif //PATH_GLOBAL_H diff --git a/src/Mod/Path/PathSimulator/App/PreCompiled.h b/src/Mod/Path/PathSimulator/App/PreCompiled.h index c8463f6304..14ea3ae0a3 100644 --- a/src/Mod/Path/PathSimulator/App/PreCompiled.h +++ b/src/Mod/Path/PathSimulator/App/PreCompiled.h @@ -25,19 +25,6 @@ #include -// Exporting of App classes -#ifdef FC_OS_WIN32 -# define PathSimulatorExport __declspec(dllexport) -# define PathExport __declspec(dllimport) -# define PartExport __declspec(dllimport) -# define MeshExport __declspec(dllimport) -#else // for Linux -# define PathSimulatorExport -# define PathExport -# define PartExport -# define MeshExport -#endif - #ifdef _PreComp_ // standard