2424/* --- INCLUDE --------------------------------------------------------- */
2525/* --------------------------------------------------------------------- */
2626
27+ #include < sot/core/config.hh>
2728#include < dynamic-graph/entity.h>
2829#include < dynamic-graph/signal-ptr.h>
2930#include < dynamic-graph/signal-time-dependent.h>
@@ -33,20 +34,6 @@ namespace dg = ::dynamicgraph;
3334namespace dynamicgraph {
3435 namespace sot {
3536
36- /* --------------------------------------------------------------------- */
37- /* --- API ------------------------------------------------------------- */
38- /* --------------------------------------------------------------------- */
39-
40- #if defined (WIN32)
41- # if defined (reader_EXPORTS)
42- # define SOTGRADIENTASCENT_EXPORT __declspec (dllexport)
43- # else
44- # define SOTGRADIENTASCENT_EXPORT __declspec (dllimport)
45- # endif
46- #else
47- # define SOTGRADIENTASCENT_EXPORT
48- #endif
49-
5037/* --------------------------------------------------------------------- */
5138/* --- TRACER ---------------------------------------------------------- */
5239/* --------------------------------------------------------------------- */
@@ -55,7 +42,7 @@ using dynamicgraph::Entity;
5542using dynamicgraph::SignalPtr;
5643using dynamicgraph::SignalTimeDependent;
5744
58- class SOTGRADIENTASCENT_EXPORT GradientAscent
45+ class SOT_CORE_DLLAPI GradientAscent
5946: public Entity
6047{
6148 DYNAMIC_GRAPH_ENTITY_DECL ();
0 commit comments