From b10ca46d3bcd2dbba5815da04d16bc4c6ecc25fb Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 4 Mar 2009 13:14:14 +0000 Subject: [PATCH] Test EXPORTS definition with target name as suggested by cmake --- src/GenericObj/SALOME_GenericObj_i.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GenericObj/SALOME_GenericObj_i.hh b/src/GenericObj/SALOME_GenericObj_i.hh index 59c31faac..a7f03c893 100644 --- a/src/GenericObj/SALOME_GenericObj_i.hh +++ b/src/GenericObj/SALOME_GenericObj_i.hh @@ -32,7 +32,7 @@ #include CORBA_SERVER_HEADER(SALOME_GenericObj) #ifdef WIN32 -# ifdef GENERICOBJ_EXPORTS +# if defined GENERICOBJ_EXPORTS || defined SalomeGenericObj_EXPORTS # define GENERICOBJ_EXPORT __declspec( dllexport ) # else # define GENERICOBJ_EXPORT __declspec( dllimport ) -- 2.39.2