Salome HOME
Porting LIGHT module to WIN32 platform.
[samples/light.git] / src / LIGHTGUI / LIGHTGUI.cxx
index c1e2d4a95be302c91970f7faab0dcb0c5c843d81..b6d5c75a52768a9e5e65869b7f13082b00b86319 100644 (file)
@@ -595,18 +595,12 @@ void LIGHTGUI::onClear()
   \return new created instance of the module
 */
 
-#ifdef WNT
-#define LIGHTGUI_EXPORT __declspec(dllexport)
-#else   // WNT
-#define LIGHTGUI_EXPORT
-#endif  // WNT
-
 extern "C" {
-  LIGHTGUI_EXPORT CAM_Module* createModule() {
+  LIGHT_EXPORT CAM_Module* createModule() {
     return new LIGHTGUI();
   }
   
-  LIGHTGUI_EXPORT char* getModuleVersion() {
+  LIGHT_EXPORT char* getModuleVersion() {
     return (char*)LIGHT_VERSION_STR;
   }
 }