From: ouv Date: Thu, 25 Jul 2013 12:14:21 +0000 (+0000) Subject: Compilation on Windows. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8c1bbdefef07b39be1e81794d0970ffe14d82f3f;p=modules%2Fgui.git Compilation on Windows. --- diff --git a/src/GraphicsView/GraphicsView.h b/src/GraphicsView/GraphicsView.h index 077508147..aa3b17e8b 100644 --- a/src/GraphicsView/GraphicsView.h +++ b/src/GraphicsView/GraphicsView.h @@ -22,7 +22,7 @@ #ifdef WIN32 -#ifdef GRAPHICSVIEW_EXPORTS +#if defined GRAPHICSVIEW_EXPORTS || defined GraphicsView_EXPORTS #define GRAPHICSVIEW_API __declspec(dllexport) #else #define GRAPHICSVIEW_API __declspec(dllimport) diff --git a/src/ImageComposer/ImageComposer.h b/src/ImageComposer/ImageComposer.h index 13d2d232e..0192e35d5 100644 --- a/src/ImageComposer/ImageComposer.h +++ b/src/ImageComposer/ImageComposer.h @@ -1,7 +1,7 @@ #ifdef WIN32 - #ifdef IMAGE_COMPOSER_EXPORTS + #if defined IMAGE_COMPOSER_EXPORTS || defined ImageComposer_EXPORTS #define IMAGE_COMPOSER_API __declspec( dllexport ) #else #define IMAGE_COMPOSER_API __declspec( dllimport )