diff options
Diffstat (limited to 'TAO/tao/DynamicAny/DynamicAny.h')
-rw-r--r-- | TAO/tao/DynamicAny/DynamicAny.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/TAO/tao/DynamicAny/DynamicAny.h b/TAO/tao/DynamicAny/DynamicAny.h index 5c944fb7895..198439dc114 100644 --- a/TAO/tao/DynamicAny/DynamicAny.h +++ b/TAO/tao/DynamicAny/DynamicAny.h @@ -17,13 +17,18 @@ #include /**/ "ace/pre.h" #include "dynamicany_export.h" -#include "tao/Object_Loader.h" -#include "ace/Service_Config.h" + +#define TAO_DYNAMICANY_SAFE_INCLUDE +#include "DynamicAnyC.h" +#undef TAO_DYNAMICANY_SAFE_INCLUDE #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "tao/Object_Loader.h" +#include "ace/Service_Config.h" + class TAO_DynamicAny_Export TAO_DynamicAny_Loader : public TAO_Object_Loader { public: @@ -47,9 +52,5 @@ ACE_FACTORY_DECLARE (TAO_DynamicAny, TAO_DynamicAny_Loader) static int TAO_Requires_DynamicAny_Initializer = TAO_DynamicAny_Loader::Initializer (); -#define TAO_DYNAMICANY_SAFE_INCLUDE -#include "DynamicAnyC.h" -#undef TAO_DYNAMICANY_SAFE_INCLUDE - #include /**/ "ace/post.h" #endif /* TAO_DYNAMICANY_H */ |