Test EXPORTS definition with target name as suggested by cmake

This commit is contained in:
adam 2009-03-06 15:11:53 +00:00
parent e3e64a8856
commit 74459a0d46
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
// $Header:
//
#ifdef WIN32
#ifdef NETGENPLUGIN_GUI_EXPORTS
#if defined NETGENPLUGIN_GUI_EXPORTS || defined NETGENPluginGUI_EXPORTS
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllexport )
#else
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllimport )

View File

@ -27,7 +27,7 @@
#define _NETGENPlugin_DEFS_HXX_
#ifdef WIN32
#ifdef NETGENPLUGIN_EXPORTS
#if defined NETGENPLUGIN_EXPORTS || defined NETGENEngine_EXPORTS
#define NETGENPLUGIN_EXPORT __declspec( dllexport )
#else
#define NETGENPLUGIN_EXPORT __declspec( dllimport )