diff options
Diffstat (limited to 'TAO/tao/DynamicAny/DynamicAnyC.h')
-rw-r--r-- | TAO/tao/DynamicAny/DynamicAnyC.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/DynamicAny/DynamicAnyC.h b/TAO/tao/DynamicAny/DynamicAnyC.h index 1d6e15fa236..d5cfe902931 100644 --- a/TAO/tao/DynamicAny/DynamicAnyC.h +++ b/TAO/tao/DynamicAny/DynamicAnyC.h @@ -22,7 +22,8 @@ #ifndef _TAO_IDL_ORIG_DYNAMICANYC_H_ #define _TAO_IDL_ORIG_DYNAMICANYC_H_ -#ifndef TAO_DYNAMICANY_SAFE_INCLUDE +#if !defined(TAO_DYNAMICANY_SAFE_INCLUDE) && \ + !defined(TAO_INSTANTIATING_TEMPLATES) #error "You should not include DynamicAnyC.h directly, use DynamicAny.h" #endif /* !TAO_DYNAMICANY_SAFE_INCLUDE */ |