]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Test EXPORTS definition with target name as suggested by cmake
authoradam <adam>
Wed, 4 Mar 2009 13:14:14 +0000 (13:14 +0000)
committeradam <adam>
Wed, 4 Mar 2009 13:14:14 +0000 (13:14 +0000)
src/GenericObj/SALOME_GenericObj_i.hh

index 59c31faac88a40f282b5f9cd67873764a7493bed..a7f03c893d117ec829aa03865fa7cb7f1e6c13fc 100644 (file)
@@ -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 )