From 83b59143a96e2b77582ee6c4ff03c796a9de7125 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 4 Mar 2009 14:16:05 +0000 Subject: [PATCH] Test EXPORTS definition with target name as suggested by cmake --- src/ModuleCatalog/SALOME_ModuleCatalog.hxx | 2 +- src/Registry/SALOME_Registry.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog.hxx b/src/ModuleCatalog/SALOME_ModuleCatalog.hxx index bb8a2320a..d70e2aa77 100755 --- a/src/ModuleCatalog/SALOME_ModuleCatalog.hxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog.hxx @@ -27,7 +27,7 @@ #define _SALOME_ModuleCatalog_HXX_ #ifdef WIN32 -# ifdef MODULECATALOG_EXPORTS +# if defined MODULECATALOG_EXPORTS || defined SalomeCatalog_EXPORTS # define MODULECATALOG_EXPORT __declspec( dllexport ) # else # define MODULECATALOG_EXPORT __declspec( dllimport ) diff --git a/src/Registry/SALOME_Registry.hxx b/src/Registry/SALOME_Registry.hxx index a4c234a29..665220457 100755 --- a/src/Registry/SALOME_Registry.hxx +++ b/src/Registry/SALOME_Registry.hxx @@ -27,7 +27,7 @@ #define _SALOME_Registry_HXX_ #ifdef WIN32 -# ifdef REGISTRY_EXPORTS +# if defined REGISTRY_EXPORTS || defined Registry_EXPORTS # define REGISTRY_EXPORT __declspec( dllexport ) # else # define REGISTRY_EXPORT __declspec( dllimport ) -- 2.39.2