From 9423dda196640c8a47ba08e4a66e5b04f46da1e3 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 6 Mar 2009 15:54:21 +0000 Subject: [PATCH] Test EXPORTS definition with target name as suggested by cmake --- src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx | 2 +- .../Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx | 2 +- src/INTERP_KERNEL/INTERPKERNELDefines.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx b/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx index f07ce5f69..27c10887d 100644 --- a/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx +++ b/src/INTERP_KERNEL/Bases/INTERPKERNELBASESDefines.hxx @@ -21,7 +21,7 @@ //export symbols #ifdef WIN32 -# ifdef INTERPKERNELBASES_EXPORTS +# if defined INTERPKERNELBASES_EXPORTS || defined interpkernelbases_EXPORTS # define INTERPKERNELBASES_EXPORT __declspec(dllexport) # else # define INTERPKERNELBASES_EXPORT __declspec(dllimport) diff --git a/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx b/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx index 6817031db..f8a5a06dc 100644 --- a/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx +++ b/src/INTERP_KERNEL/Geometric2D/INTERPKERNELGEOMETRIC2DDefines.hxx @@ -21,7 +21,7 @@ //export symbols #ifdef WIN32 -# ifdef INTERPKERNELGEOMETRIC2D_EXPORTS +# if defined INTERPKERNELGEOMETRIC2D_EXPORTS || defined InterpGeometric2DAlg_EXPORTS # define INTERPKERNELGEOMETRIC2D_EXPORT __declspec(dllexport) # else # define INTERPKERNELGEOMETRIC2D_EXPORT __declspec(dllimport) diff --git a/src/INTERP_KERNEL/INTERPKERNELDefines.hxx b/src/INTERP_KERNEL/INTERPKERNELDefines.hxx index d89f5da03..c4d213cee 100644 --- a/src/INTERP_KERNEL/INTERPKERNELDefines.hxx +++ b/src/INTERP_KERNEL/INTERPKERNELDefines.hxx @@ -21,7 +21,7 @@ //export symbols #ifdef WIN32 -# ifdef INTERPKERNEL_EXPORTS +# if defined INTERPKERNEL_EXPORTS || defined interpkernel_EXPORTS # define INTERPKERNEL_EXPORT __declspec(dllexport) # else # define INTERPKERNEL_EXPORT __declspec(dllimport) -- 2.39.2