From 8c1bbdefef07b39be1e81794d0970ffe14d82f3f Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 25 Jul 2013 12:14:21 +0000 Subject: [PATCH] Compilation on Windows. --- src/GraphicsView/GraphicsView.h | 2 +- src/ImageComposer/ImageComposer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.2