diff --git a/include/sot-core/contiifstream.h b/include/sot-core/contiifstream.h
index 67e57814bb0ea8c8cf7347a64ea7db76d0fdcf76..32aa99ef3fdd3dd707d2d54ccd1c09e5b5687b3a 100644
--- a/include/sot-core/contiifstream.h
+++ b/include/sot-core/contiifstream.h
@@ -36,29 +36,17 @@
 #include <list>
 
 #include <dynamic-graph/interpreter.h>
+#include <sot-core/sot-core-api.h>
 #ifndef WIN32
 #include <pthread.h>
 #endif
-/* --------------------------------------------------------------------- */
-/* --- API ------------------------------------------------------------- */
-/* --------------------------------------------------------------------- */
-
-#if defined (WIN32) 
-#  if defined (contiifstream_EXPORTS)
-#    define SOTCONTIIFSTREAM_EXPORT __declspec(dllexport)
-#  else  
-#    define SOTCONTIIFSTREAM_EXPORT __declspec(dllimport)
-#  endif 
-#else
-#  define SOTCONTIIFSTREAM_EXPORT
-#endif
 
 namespace sot {
 
 /* --------------------------------------------------------------------- */
 /* --- CLASS ----------------------------------------------------------- */
 /* --------------------------------------------------------------------- */
-class SOTCONTIIFSTREAM_EXPORT Contiifstream
+class SOT_CORE_EXPORT Contiifstream
 {
 protected:
   std::string filename;