--- orig/DynamicAnyC.h Thu Dec 07 17:45:21 2000 +++ DynamicAnyC.h Thu Dec 07 17:39:55 2000 @@ -22,6 +22,10 @@ #ifndef _TAO_IDL_ORIG_DYNAMICANYC_H_ #define _TAO_IDL_ORIG_DYNAMICANYC_H_ +#ifndef TAO_DYNAMICANY_SAFE_INCLUDE +#error "You should not include DynamicAnyC.h directly, use DynamicAny.h" +#endif /* !TAO_DYNAMICANY_SAFE_INCLUDE */ + #include "ace/pre.h" #include "tao/corba.h"