diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/EndpointPolicy/EndpointPolicy_Export.h | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/EndpointPolicy/EndpointPolicy_Export.h')
-rw-r--r-- | TAO/tao/EndpointPolicy/EndpointPolicy_Export.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/TAO/tao/EndpointPolicy/EndpointPolicy_Export.h b/TAO/tao/EndpointPolicy/EndpointPolicy_Export.h new file mode 100644 index 00000000000..d9940484cfe --- /dev/null +++ b/TAO/tao/EndpointPolicy/EndpointPolicy_Export.h @@ -0,0 +1,58 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl -s TAO_EndpointPolicy +// ------------------------------ +#ifndef TAO_ENDPOINTPOLICY_EXPORT_H +#define TAO_ENDPOINTPOLICY_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (TAO_ENDPOINTPOLICY_HAS_DLL) +# define TAO_ENDPOINTPOLICY_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && TAO_ENDPOINTPOLICY_HAS_DLL */ + +#if !defined (TAO_ENDPOINTPOLICY_HAS_DLL) +# define TAO_ENDPOINTPOLICY_HAS_DLL 1 +#endif /* ! TAO_ENDPOINTPOLICY_HAS_DLL */ + +#if defined (TAO_ENDPOINTPOLICY_HAS_DLL) && (TAO_ENDPOINTPOLICY_HAS_DLL == 1) +# if defined (TAO_ENDPOINTPOLICY_BUILD_DLL) +# define TAO_EndpointPolicy_Export ACE_Proper_Export_Flag +# define TAO_ENDPOINTPOLICY_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define TAO_ENDPOINTPOLICY_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* TAO_ENDPOINTPOLICY_BUILD_DLL */ +# define TAO_EndpointPolicy_Export ACE_Proper_Import_Flag +# define TAO_ENDPOINTPOLICY_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define TAO_ENDPOINTPOLICY_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* TAO_ENDPOINTPOLICY_BUILD_DLL */ +#else /* TAO_ENDPOINTPOLICY_HAS_DLL == 1 */ +# define TAO_EndpointPolicy_Export +# define TAO_ENDPOINTPOLICY_SINGLETON_DECLARATION(T) +# define TAO_ENDPOINTPOLICY_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* TAO_ENDPOINTPOLICY_HAS_DLL == 1 */ + +// Set TAO_ENDPOINTPOLICY_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (TAO_ENDPOINTPOLICY_NTRACE) +# if (ACE_NTRACE == 1) +# define TAO_ENDPOINTPOLICY_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define TAO_ENDPOINTPOLICY_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !TAO_ENDPOINTPOLICY_NTRACE */ + +#if (TAO_ENDPOINTPOLICY_NTRACE == 1) +# define TAO_ENDPOINTPOLICY_TRACE(X) +#else /* (TAO_ENDPOINTPOLICY_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define TAO_ENDPOINTPOLICY_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (TAO_ENDPOINTPOLICY_NTRACE == 1) */ + +#endif /* TAO_ENDPOINTPOLICY_EXPORT_H */ + +// End of auto generated file. |