diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-01-08 18:36:49 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-01-08 18:36:49 +0000 |
commit | cdc6a5f78f65bf190692daff07d35e15aa4ce018 (patch) | |
tree | 093fa3ab7db10e00a5b421d7d48354e5fe3ecba9 /TAO/examples/Simple | |
parent | 87cc06f4f4eb9180576393fb6a0ea5994ad0aae3 (diff) | |
download | ATCD-cdc6a5f78f65bf190692daff07d35e15aa4ce018.tar.gz |
ChangeLogTag: Thu Jan 8 18:35:11 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/Simple')
-rw-r--r-- | TAO/examples/Simple/time-date/Alt_Resource_Factory.h | 12 | ||||
-rw-r--r-- | TAO/examples/Simple/time-date/Simple_time_date.mpc | 1 |
2 files changed, 12 insertions, 1 deletions
diff --git a/TAO/examples/Simple/time-date/Alt_Resource_Factory.h b/TAO/examples/Simple/time-date/Alt_Resource_Factory.h index f0a316eee8e..34bcb27cebf 100644 --- a/TAO/examples/Simple/time-date/Alt_Resource_Factory.h +++ b/TAO/examples/Simple/time-date/Alt_Resource_Factory.h @@ -7,12 +7,22 @@ #ifndef Alt_Resource_Factory_EXPORT_H #define Alt_Resource_Factory_EXPORT_H -#include "ace/OS.h" +#include "ace/config-all.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#if defined (TAO_AS_STATIC_LIBS) +# if !defined (Alt_Resource_Factory_HAS_DLL) +# define Alt_Resource_Factory_HAS_DLL 0 +# endif /* ! Alt_Resource_Factory_HAS_DLL */ +#else +# if !defined (Alt_Resource_Factory_HAS_DLL) +# define Alt_Resource_Factory_HAS_DLL 1 +# endif /* ! Alt_Resource_Factory_HAS_DLL */ +#endif + #if defined (Alt_Resource_Factory_HAS_DLL) # if (Alt_Resource_Factory_HAS_DLL == 1) # if defined (Alt_Resource_Factory_BUILD_DLL) diff --git a/TAO/examples/Simple/time-date/Simple_time_date.mpc b/TAO/examples/Simple/time-date/Simple_time_date.mpc index 14fa2710911..0b056b18d16 100644 --- a/TAO/examples/Simple/time-date/Simple_time_date.mpc +++ b/TAO/examples/Simple/time-date/Simple_time_date.mpc @@ -6,6 +6,7 @@ project(*lib): portableserver { // The svc conf files assume that the dll is in the current directory libout = . dynamicflags += ACE_BUILD_SVC_DLL Alt_Resource_Factory_BUILD_DLL + idlflags += -Wb,export_macro=Alt_Resource_Factory_Export -Wb,export_include=Alt_Resource_Factory.h Source_Files { Time_Date.cpp Time_Date_i.cpp |