From: adam Date: Wed, 4 Mar 2009 13:14:14 +0000 (+0000) Subject: Test EXPORTS definition with target name as suggested by cmake X-Git-Tag: V5_1_1a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b10ca46d3bcd2dbba5815da04d16bc4c6ecc25fb;p=modules%2Fkernel.git Test EXPORTS definition with target name as suggested by cmake --- 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 )