]> Creatis software - creaEnvironment.git/blobdiff - lib/kernel_Environment/ConceptInstantHandler.h
e
[creaEnvironment.git] / lib / kernel_Environment / ConceptInstantHandler.h
index b71baba1f357f524b10a09614149fdaa211d16bd..47e9f74b6cfa5eb3118c7e7262b60ca215e43cd4 100644 (file)
@@ -3,8 +3,8 @@
   Program:  ConceptInstantHandler
   Module:    $RCSfile: ConceptInstantHandler.h,v $
   Language:  C++
-  Date:      $Date: 2008/11/04 16:33:55 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/11/04 16:56:49 $
+  Version:   $Revision: 1.5 $
   Objective: Wrapper fo the concepts that subscribe to the instant handler
   Authot:      Monica Maria Lozano Romero
 
 #ifndef __CONCEPTINSTANTHANDLER_H_INCLUDED__
 #define __CONCEPTINSTANTHANDLER_H_INCLUDED__
 
-#if defined(WIN32)
-       //If we're using a dynamic library
-       # ifdef CreaEnvironment_BUILD_SHARED
-       #   define CreaEnvironment_EXPORTS __declspec( dllexport )
-       # else
-       #   define CreaEnvironment_EXPORTS //__declspec( dllimport )
-       # endif //maracasvisulib_EXPORTS
-#else
-       #ifndef CreaEnvironment_EXPORTS
-               #define CreaEnvironment_EXPORTS
+
+#if defined(_WIN32) 
+       #ifdef CreaEnvironment_BUILD_SHARED
+               #define CreaEnvironment_EXPORTS __declspec( dllexport )
+       #else
+               #define CreaEnvironment_EXPORTS 
        #endif
+#else
+       #define CreaEnvironment_EXPORTS
 #endif