summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-23 20:52:46 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-23 20:52:46 +0000
commitfb7b4947295d9ef957687513fa4c72c67d01f2cb (patch)
tree9026008939887ceb3e3651e554e921e675fd977a
parentf7a8cdf7d738b732ef5a383a800ea20b008c5e7b (diff)
downloadATCD-fb7b4947295d9ef957687513fa4c72c67d01f2cb.tar.gz
ChangeLogTag:Thu Mar 23 14:48:12 2000 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a9
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp6
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/AV_Core.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/AV_export.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Flows_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/MCast.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Nil.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Policy.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/RTCP.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/RTP.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/TCP.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/Transport.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/UDP.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/media-timer.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/ntp-time.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/sfp.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/source.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Channel_Clients.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Channel_Clients_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerAdmin.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Default_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Defaults.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_EventChannel.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_MT_Dispatching.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Pulling_Strategy.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierAdmin.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/BCU.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_And_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Bitmask_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Command.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Concrete_Proxy_Set.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ConsumerControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Masked_Type_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Prefix_Filter_Builder.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Collection.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_SupplierControl.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Worker.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Event_Channel.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Event_Manip.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/GPlot_File.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Module_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/RT_Task.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Timer_Module.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event_Service_Constants.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event_Utilities.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/IOR_Multicast.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/BasicLogFactory_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/BasicLog_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Iterator_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/LogRecordStore.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Entries.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Interpreter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_FilterAdmin_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_FilterFactory_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Filter_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Listeners.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyConsumer_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushConsumer_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushSupplier_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Proxy_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_PushConsumer.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_PushSupplier.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_QoSAdmin_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushConsumer_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushSupplier_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushConsumer_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushSupplier_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushConsumer.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushSupplier.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_SupplierAdmin_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Notify_Types.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/DynSched.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Scheduler.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Scheduler_Factory.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Time_Utilities.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Interpreter.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Locking.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_T.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h2
-rw-r--r--TAO/orbsvcs/orbsvcs/orbsvcs_export.h2
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile2
-rw-r--r--TAO/tao/Acceptor_Impl.h2
-rw-r--r--TAO/tao/Acceptor_Registry.h2
-rw-r--r--TAO/tao/Active_Object_Map.h2
-rw-r--r--TAO/tao/Any.h2
-rw-r--r--TAO/tao/Asynch_Invocation.h2
-rw-r--r--TAO/tao/BoundsC.h2
-rw-r--r--TAO/tao/Buffering_Constraint_Policy.h2
-rw-r--r--TAO/tao/CDR.h2
-rw-r--r--TAO/tao/CDR_Interpreter.h2
-rw-r--r--TAO/tao/CONV_FRAMEC.h2
-rw-r--r--TAO/tao/CONV_FRAMES.h2
-rw-r--r--TAO/tao/CONV_FRAMES_T.h2
-rw-r--r--TAO/tao/Client_Priority_Policy.h2
-rw-r--r--TAO/tao/Client_Strategy_Factory.h2
-rw-r--r--TAO/tao/Connector_Registry.h2
-rw-r--r--TAO/tao/Context.h2
-rw-r--r--TAO/tao/CurrentC.h2
-rw-r--r--TAO/tao/Direct_Priority_Mapping.h2
-rw-r--r--TAO/tao/DomainC.h2
-rw-r--r--TAO/tao/DomainS_T.h2
-rw-r--r--TAO/tao/DynAnyC.h2
-rw-r--r--TAO/tao/DynAny_i.h2
-rw-r--r--TAO/tao/DynArray_i.h2
-rw-r--r--TAO/tao/DynEnum_i.h2
-rw-r--r--TAO/tao/DynSequence_i.h2
-rw-r--r--TAO/tao/DynStruct_i.h2
-rw-r--r--TAO/tao/DynUnion_i.h2
-rw-r--r--TAO/tao/DynUnion_i_T.h2
-rw-r--r--TAO/tao/Environment.h2
-rw-r--r--TAO/tao/Exception.h2
-rw-r--r--TAO/tao/Forwarding_Servant.h2
-rw-r--r--TAO/tao/GIOPC.h2
-rw-r--r--TAO/tao/GIOP_Message_Accept_State.h2
-rw-r--r--TAO/tao/GIOP_Message_Acceptors.h2
-rw-r--r--TAO/tao/GIOP_Message_Base.h2
-rw-r--r--TAO/tao/GIOP_Message_Connectors.h2
-rw-r--r--TAO/tao/GIOP_Message_Headers.h2
-rw-r--r--TAO/tao/GIOP_Message_Lite.h2
-rw-r--r--TAO/tao/GIOP_Message_State.h2
-rw-r--r--TAO/tao/GIOP_Server_Request.h2
-rw-r--r--TAO/tao/GIOP_Utils.h2
-rw-r--r--TAO/tao/IIOP_Acceptor.h2
-rw-r--r--TAO/tao/IIOP_Connect.h2
-rw-r--r--TAO/tao/IIOP_Connector.h2
-rw-r--r--TAO/tao/IIOP_Factory.h2
-rw-r--r--TAO/tao/IIOP_Lite_Factory.h2
-rw-r--r--TAO/tao/IIOP_Profile.h2
-rw-r--r--TAO/tao/IIOP_Transport.h2
-rw-r--r--TAO/tao/IOPC.h2
-rw-r--r--TAO/tao/IOPS.h2
-rw-r--r--TAO/tao/IOPS_T.h2
-rw-r--r--TAO/tao/IOP_Defns.h2
-rw-r--r--TAO/tao/IORC.h2
-rw-r--r--TAO/tao/IORManipulation.h2
-rw-r--r--TAO/tao/IORS.h2
-rw-r--r--TAO/tao/IOR_LookupTable.h2
-rw-r--r--TAO/tao/ImplRepoC.h2
-rw-r--r--TAO/tao/ImplRepoS.h2
-rw-r--r--TAO/tao/ImplRepoS_T.h2
-rw-r--r--TAO/tao/InconsistentTypeCodeC.h2
-rw-r--r--TAO/tao/Interceptor.h2
-rw-r--r--TAO/tao/InterceptorC.h2
-rw-r--r--TAO/tao/InterceptorS.h2
-rw-r--r--TAO/tao/InterfaceC.h2
-rw-r--r--TAO/tao/InterfaceS.h2
-rw-r--r--TAO/tao/Invocation.h2
-rw-r--r--TAO/tao/Key_Adapters.h2
-rw-r--r--TAO/tao/Leader_Follower.h2
-rw-r--r--TAO/tao/Linear_Priority_Mapping.h2
-rw-r--r--TAO/tao/MProfile.h2
-rw-r--r--TAO/tao/Managed_Types.h2
-rw-r--r--TAO/tao/Marshal.h2
-rw-r--r--TAO/tao/MessagingC.h2
-rw-r--r--TAO/tao/MessagingS.h2
-rw-r--r--TAO/tao/MessagingS_T.h2
-rw-r--r--TAO/tao/Messaging_Policy_i.h2
-rw-r--r--TAO/tao/NVList.h2
-rw-r--r--TAO/tao/ORB.h2
-rw-r--r--TAO/tao/ORB_Core.h2
-rw-r--r--TAO/tao/Object.h2
-rw-r--r--TAO/tao/ObjectIDList.h2
-rw-r--r--TAO/tao/Object_Adapter.h2
-rw-r--r--TAO/tao/Object_KeyC.h2
-rw-r--r--TAO/tao/Operation_Table.h2
-rw-r--r--TAO/tao/POA.h2
-rw-r--r--TAO/tao/POAC.h2
-rw-r--r--TAO/tao/POAManager.h2
-rw-r--r--TAO/tao/POAS.h2
-rw-r--r--TAO/tao/POA_CORBA.h2
-rw-r--r--TAO/tao/Pluggable.h2
-rw-r--r--TAO/tao/Pluggable_Messaging.h2
-rw-r--r--TAO/tao/Pluggable_Messaging_Utils.h2
-rw-r--r--TAO/tao/PolicyC.h2
-rw-r--r--TAO/tao/Policy_Manager.h2
-rw-r--r--TAO/tao/PollableC.h2
-rw-r--r--TAO/tao/PollableS.h2
-rw-r--r--TAO/tao/PollableS_T.h2
-rw-r--r--TAO/tao/Pool_Per_Endpoint.h2
-rw-r--r--TAO/tao/Principal.h2
-rw-r--r--TAO/tao/Priority_Mapping.h2
-rw-r--r--TAO/tao/Profile.h2
-rw-r--r--TAO/tao/Protocol_Factory.h2
-rw-r--r--TAO/tao/RT_Current.h2
-rw-r--r--TAO/tao/Reactor_Per_Priority.h2
-rw-r--r--TAO/tao/Reactor_Registry.h2
-rw-r--r--TAO/tao/Reply_Dispatcher.h2
-rw-r--r--TAO/tao/Request.h2
-rw-r--r--TAO/tao/Resource_Factory.h2
-rw-r--r--TAO/tao/SHMIOP_Acceptor.h2
-rw-r--r--TAO/tao/SHMIOP_Connect.h2
-rw-r--r--TAO/tao/SHMIOP_Connector.h2
-rw-r--r--TAO/tao/SHMIOP_Factory.h2
-rw-r--r--TAO/tao/SHMIOP_Profile.h2
-rw-r--r--TAO/tao/SHMIOP_Transport.h2
-rw-r--r--TAO/tao/Sequence.h2
-rw-r--r--TAO/tao/Sequence_T.h2
-rw-r--r--TAO/tao/Servant_Base.h2
-rw-r--r--TAO/tao/Server_Request.h2
-rw-r--r--TAO/tao/Server_Strategy_Factory.h2
-rw-r--r--TAO/tao/Services.h2
-rw-r--r--TAO/tao/Single_Reactor.h2
-rw-r--r--TAO/tao/Stub.h2
-rw-r--r--TAO/tao/Sync_Strategies.h2
-rw-r--r--TAO/tao/TAO.h2
-rw-r--r--TAO/tao/TAOC.h2
-rw-r--r--TAO/tao/TAOS.h2
-rw-r--r--TAO/tao/TAOS_T.h2
-rw-r--r--TAO/tao/TAO_Internal.h2
-rw-r--r--TAO/tao/Tagged_Components.h2
-rw-r--r--TAO/tao/TimeBaseC.h2
-rw-r--r--TAO/tao/TimeBaseS.h2
-rw-r--r--TAO/tao/TimeBaseS_T.h2
-rw-r--r--TAO/tao/Timeprobe.h2
-rw-r--r--TAO/tao/Transport_Mux_Strategy.h2
-rw-r--r--TAO/tao/Typecode.h2
-rw-r--r--TAO/tao/UIOP_Acceptor.h2
-rw-r--r--TAO/tao/UIOP_Connect.h2
-rw-r--r--TAO/tao/UIOP_Connector.h2
-rw-r--r--TAO/tao/UIOP_Factory.h2
-rw-r--r--TAO/tao/UIOP_Lite_Factory.h2
-rw-r--r--TAO/tao/UIOP_Profile.h2
-rw-r--r--TAO/tao/UIOP_Transport.h2
-rw-r--r--TAO/tao/Union.h2
-rw-r--r--TAO/tao/ValueBase.h2
-rw-r--r--TAO/tao/ValueFactory.h2
-rw-r--r--TAO/tao/ValueFactory_Map.h2
-rw-r--r--TAO/tao/Wait_Strategy.h2
-rw-r--r--TAO/tao/WrongTransactionC.h2
-rw-r--r--TAO/tao/corba.h2
-rw-r--r--TAO/tao/corbafwd.h2
-rw-r--r--TAO/tao/debug.h2
-rw-r--r--TAO/tao/default_client.h2
-rw-r--r--TAO/tao/default_resource.h2
-rw-r--r--TAO/tao/default_server.h2
-rw-r--r--TAO/tao/operation_details.h2
-rw-r--r--TAO/tao/orbconf.h2
-rw-r--r--TAO/tao/params.h2
-rw-r--r--TAO/tao/poa_macros.h2
-rw-r--r--TAO/tao/qt_resource.h2
-rw-r--r--TAO/tao/rtcorbafwd.h2
-rw-r--r--TAO/tao/singletons.h2
-rw-r--r--TAO/tao/target_specification.h2
-rw-r--r--TAO/tao/try_macros.h2
-rw-r--r--TAO/tao/varout.h2
-rw-r--r--TAO/tao/xt_resource.h2
367 files changed, 377 insertions, 368 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 9adc18f0b74..f707fbd617e 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,12 @@
+Thu Mar 23 14:48:12 2000 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * TAO_IDL/be/be_codegen.cpp:
+ * tao/*.h:
+ * orbsvcs/orbsvcs/*.h: Moved the inclusion of <pre.h> down after
+ the definition of header guard macro. The original order
+ violated the ACE programming guideline. Thanks to Carlos for
+ catching this.
+
Thu Mar 23 11:06:24 2000 Carlos O'Ryan <coryan@uci.edu>
* orbsvcs/orbsvcs/Makefile:
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp
index 3d27c18abdd..c5c7739ba87 100644
--- a/TAO/TAO_IDL/be/be_codegen.cpp
+++ b/TAO/TAO_IDL/be/be_codegen.cpp
@@ -156,13 +156,13 @@ TAO_CodeGen::start_client_header (const char *fname)
// generate the #ifndef ... #define statements
this->client_header_->print ("#ifndef %s\n", macro_name);
+ this->client_header_->print ("#define %s\n\n", macro_name);
if (idl_global->pre_include () != 0)
{
*this->client_header_ << "#include \""
<< idl_global->pre_include ()
<< "\"\n";
}
- this->client_header_->print ("#define %s\n\n", macro_name);
// Including standard files
@@ -452,13 +452,13 @@ TAO_CodeGen::start_server_header (const char *fname)
ACE_OS::strcat (macro_name, "_H_");
this->server_header_->print ("#ifndef %s\n", macro_name);
+ this->server_header_->print ("#define %s\n\n", macro_name);
if (idl_global->pre_include () != 0)
{
*this->server_header_ << "#include \""
<< idl_global->pre_include ()
<< "\"\n";
}
- this->server_header_->print ("#define %s\n\n", macro_name);
// Include the Messaging files if AMI is enabled.
if (idl_global->ami_call_back () == I_TRUE)
@@ -615,13 +615,13 @@ TAO_CodeGen::start_server_template_header (const char *fname)
ACE_OS::strcat (macro_name, "_H_");
this->server_template_header_->print ("#ifndef %s\n", macro_name);
+ this->server_template_header_->print ("#define %s\n\n", macro_name);
if (idl_global->pre_include () != 0)
{
*this->server_template_header_ << "#include \""
<< idl_global->pre_include ()
<< "\"\n";
}
- this->server_template_header_->print ("#define %s\n\n", macro_name);
*this->server_template_header_ << "#if defined(_MSC_VER)\n"
<< "#if (_MSC_VER >= 1200)\n"
diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
index 5225f043866..57497de0725 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
+++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef AVSTREAMS_I_H
-#include "ace/pre.h"
#define AVSTREAMS_I_H
+#include "ace/pre.h"
#include "ace/OS.h"
#include "ace/SOCK_Dgram_Mcast.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/AV_Core.h b/TAO/orbsvcs/orbsvcs/AV/AV_Core.h
index b80bed676c8..e5415419c5c 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AV_Core.h
+++ b/TAO/orbsvcs/orbsvcs/AV/AV_Core.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_AV_CORE_H
-#include "ace/pre.h"
#define TAO_AV_CORE_H
+#include "ace/pre.h"
#include "tao/TAO.h"
#include "orbsvcs/AVStreamsC.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/AV_export.h b/TAO/orbsvcs/orbsvcs/AV/AV_export.h
index 5b27b4f61b5..b71b6420895 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AV_export.h
+++ b/TAO/orbsvcs/orbsvcs/AV/AV_export.h
@@ -5,8 +5,8 @@
// ${ACE_ROOT}/GenExportH.BAT
// ------------------------------
#ifndef TAO_AV_EXPORT_H
-#include "ace/pre.h"
#define TAO_AV_EXPORT_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h
index bc4f0497796..deab04f8115 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_AV_ENDPOINT_STRATEGY_H
-#include "ace/pre.h"
#define TAO_AV_ENDPOINT_STRATEGY_H
+#include "ace/pre.h"
#include "AVStreams_i.h"
#include "tao/TAO.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h
index d500407f542..94a29d6ea98 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.h
@@ -19,8 +19,8 @@
#ifndef TAO_AV_ENDPOINT_STRATEGY_T_H
-#include "ace/pre.h"
#define TAO_AV_ENDPOINT_STRATEGY_T_H
+#include "ace/pre.h"
#include "Endpoint_Strategy.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.h b/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.h
index c8363273c1a..37151ea734a 100644
--- a/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.h
+++ b/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_AV_FLOWSPEC_ENTRY_H
-#include "ace/pre.h"
#define TAO_AV_FLOWSPEC_ENTRY_H
+#include "ace/pre.h"
#include "orbsvcs/AV/AV_export.h"
#include "AV_Core.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Flows_T.h b/TAO/orbsvcs/orbsvcs/AV/Flows_T.h
index dd3df0c769e..ff5debd734c 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Flows_T.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Flows_T.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_AV_FLOWS_T_H
-#include "ace/pre.h"
#define TAO_AV_FLOWS_T_H
+#include "ace/pre.h"
#include "AVStreams_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/MCast.h b/TAO/orbsvcs/orbsvcs/AV/MCast.h
index a23c2a2f5e0..dd43b45c7d0 100644
--- a/TAO/orbsvcs/orbsvcs/AV/MCast.h
+++ b/TAO/orbsvcs/orbsvcs/AV/MCast.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_AV_MCAST_H
-#include "ace/pre.h"
#define TAO_AV_MCAST_H
+#include "ace/pre.h"
#include "FlowSpec_Entry.h"
#include "Protocol_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Nil.h b/TAO/orbsvcs/orbsvcs/AV/Nil.h
index e362c0a99bb..da51425f804 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Nil.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Nil.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_AV_NIL_H
-#include "ace/pre.h"
#define TAO_AV_NIL_H
+#include "ace/pre.h"
#include "Policy.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Policy.h b/TAO/orbsvcs/orbsvcs/AV/Policy.h
index 1f89d187fab..23785e9309f 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Policy.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Policy.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_AV_POLICY_H
-#include "ace/pre.h"
#define TAO_AV_POLICY_H
+#include "ace/pre.h"
#include "ace/Addr.h"
#include "tao/TAO.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.h b/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.h
index 6ae0c744fc7..3e919b8fb15 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_AV_PROTOCOL_FACTORY_T_H
-#include "ace/pre.h"
#define TAO_AV_PROTOCOL_FACTORY_T_H
+#include "ace/pre.h"
#include "ace/Service_Object.h"
#include "Policy.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/RTCP.h b/TAO/orbsvcs/orbsvcs/AV/RTCP.h
index 08149a7423c..586f290a4f2 100644
--- a/TAO/orbsvcs/orbsvcs/AV/RTCP.h
+++ b/TAO/orbsvcs/orbsvcs/AV/RTCP.h
@@ -49,8 +49,8 @@
// ============================================================================
#ifndef TAO_AV_RTCP_H
-#include "ace/pre.h"
#define TAO_AV_RTCP_H
+#include "ace/pre.h"
#include "ace/OS.h"
#include "source.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/RTP.h b/TAO/orbsvcs/orbsvcs/AV/RTP.h
index 9542aa0a95e..46cecbff24a 100644
--- a/TAO/orbsvcs/orbsvcs/AV/RTP.h
+++ b/TAO/orbsvcs/orbsvcs/AV/RTP.h
@@ -51,8 +51,8 @@
// ============================================================================
#ifndef TAO_AV_RTP_H
-#include "ace/pre.h"
#define TAO_AV_RTP_H
+#include "ace/pre.h"
#include "Protocol_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/TCP.h b/TAO/orbsvcs/orbsvcs/AV/TCP.h
index 64a58faa3fb..421b01f8254 100644
--- a/TAO/orbsvcs/orbsvcs/AV/TCP.h
+++ b/TAO/orbsvcs/orbsvcs/AV/TCP.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_AV_TCP_H
-#include "ace/pre.h"
#define TAO_AV_TCP_H
+#include "ace/pre.h"
#include "ace/OS.h"
#include "Protocol_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/Transport.h b/TAO/orbsvcs/orbsvcs/AV/Transport.h
index f5282eb8eb9..5a01f366f36 100644
--- a/TAO/orbsvcs/orbsvcs/AV/Transport.h
+++ b/TAO/orbsvcs/orbsvcs/AV/Transport.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_AV_TRANSPORT_H
-#include "ace/pre.h"
#define TAO_AV_TRANSPORT_H
+#include "ace/pre.h"
#include "ace/Acceptor.h"
#include "ace/SOCK_Acceptor.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/UDP.h b/TAO/orbsvcs/orbsvcs/AV/UDP.h
index f02103c660e..3d4f25278d4 100644
--- a/TAO/orbsvcs/orbsvcs/AV/UDP.h
+++ b/TAO/orbsvcs/orbsvcs/AV/UDP.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_AV_UDP_H
-#include "ace/pre.h"
#define TAO_AV_UDP_H
+#include "ace/pre.h"
#include "ace/OS.h"
#include "Protocol_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/media-timer.h b/TAO/orbsvcs/orbsvcs/AV/media-timer.h
index 1eaedd0fad5..c49126a9431 100644
--- a/TAO/orbsvcs/orbsvcs/AV/media-timer.h
+++ b/TAO/orbsvcs/orbsvcs/AV/media-timer.h
@@ -36,8 +36,8 @@
*/
#ifndef TAO_AV_MEDIA_TIMER_H
-#include "ace/pre.h"
#define TAO_AV_MEDIA_TIMER_H
+#include "ace/pre.h"
#include "ace/OS.h"
//long random (void);
diff --git a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
index 5b61c34d605..173f453d49a 100644
--- a/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
+++ b/TAO/orbsvcs/orbsvcs/AV/ntp-time.h
@@ -35,8 +35,8 @@
* @(#) $Header$
*/
#ifndef TAO_AV_NTP_TIME_H
-#include "ace/pre.h"
#define TAO_AV_NTP_TIME_H
+#include "ace/pre.h"
#include "ace/OS.h"
#include "RTCP.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/sfp.h b/TAO/orbsvcs/orbsvcs/AV/sfp.h
index 64e23edb7d8..c78e9e5a3ca 100644
--- a/TAO/orbsvcs/orbsvcs/AV/sfp.h
+++ b/TAO/orbsvcs/orbsvcs/AV/sfp.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_AV_SFP_H
-#include "ace/pre.h"
#define TAO_AV_SFP_H
+#include "ace/pre.h"
#include "orbsvcs/AV/AV_export.h"
#include "orbsvcs/sfpC.h"
diff --git a/TAO/orbsvcs/orbsvcs/AV/source.h b/TAO/orbsvcs/orbsvcs/AV/source.h
index 6578daff37a..27305d144fb 100644
--- a/TAO/orbsvcs/orbsvcs/AV/source.h
+++ b/TAO/orbsvcs/orbsvcs/AV/source.h
@@ -37,8 +37,8 @@
*/
#ifndef TAO_AV_SOURCE_H
-#include "ace/pre.h"
#define TAO_AV_SOURCE_H
+#include "ace/pre.h"
#define RTCP_SDES_MAX 7
diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients.h b/TAO/orbsvcs/orbsvcs/Channel_Clients.h
index 45c0e128839..124742caf69 100644
--- a/TAO/orbsvcs/orbsvcs/Channel_Clients.h
+++ b/TAO/orbsvcs/orbsvcs/Channel_Clients.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ACE_CHANNEL_CLIENTS_H
-#include "ace/pre.h"
#define ACE_CHANNEL_CLIENTS_H
+#include "ace/pre.h"
#include "orbsvcs/Channel_Clients_T.h"
diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h b/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h
index a8f087a706f..2c5e0760dbd 100644
--- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h
+++ b/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h
@@ -22,8 +22,8 @@
// ============================================================================
#ifndef ACE_CHANNEL_CLIENTS_T_H
-#include "ace/pre.h"
#define ACE_CHANNEL_CLIENTS_T_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventCommS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h
index c38a0053a02..8dcc9442005 100644
--- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h
+++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_Lock.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef _CC_LOCK_H
-#include "ace/pre.h"
#define _CC_LOCK_H
+#include "ace/pre.h"
#include "ace/Synch.h"
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h
index 31ef7bd8cb2..309fb762f60 100644
--- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h
+++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSet.h
@@ -33,8 +33,8 @@
// ============================================================================
#ifndef _CC_LOCKSET_H
-#include "ace/pre.h"
#define _CC_LOCKSET_H
+#include "ace/pre.h"
#include "ace/Synch.h"
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h
index dac4b453a7f..133cbe25e7b 100644
--- a/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h
+++ b/TAO/orbsvcs/orbsvcs/Concurrency/CC_LockSetFactory.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef _CC_LOCKSETFACTORY_H
-#include "ace/pre.h"
#define _CC_LOCKSETFACTORY_H
+#include "ace/pre.h"
// #include "tao/corba.h"
#include "orbsvcs/CosConcurrencyControlS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
index 443c6a7a1e9..ec59e84fc56 100644
--- a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef _CONCURRENCY_SERVER_H
-#include "ace/pre.h"
#define _CONCURRENCY_SERVER_H
+#include "ace/pre.h"
#include "tao/corba.h"
#include "orbsvcs/CosConcurrencyControlC.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerAdmin.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerAdmin.h
index 86422975890..ebd19ca751d 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerAdmin.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerAdmin.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_CONSUMERADMIN_H
-#include "ace/pre.h"
#define TAO_CEC_CONSUMERADMIN_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerControl.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerControl.h
index 4a38396dcfd..1da31f831f1 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerControl.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ConsumerControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CEC_CONSUMERCONTROL_H
-#include "ace/pre.h"
#define TAO_CEC_CONSUMERCONTROL_H
+#include "ace/pre.h"
#include "orbsvcs/CosEvent/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Default_Factory.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Default_Factory.h
index 7f7eab09e23..8783b560eea 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Default_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Default_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_DEFAULT_FACTORY_H
-#include "ace/pre.h"
#define TAO_CEC_DEFAULT_FACTORY_H
+#include "ace/pre.h"
#include "CEC_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Defaults.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Defaults.h
index 47f76cf2fa3..5583a5325ff 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Defaults.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Defaults.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_CEC_DEFAULTS_H
-#include "ace/pre.h"
#define TAO_CEC_DEFAULTS_H
+#include "ace/pre.h"
#ifndef TAO_CEC_ENABLE_DEBUG_MESSAGES
#define TAO_CEC_ENABLE_DEBUG_MESSAGES 0
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching.h
index 6784ad892ed..9f1b0ba2a25 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_CEC_DISPATCHING_H
-#include "ace/pre.h"
#define TAO_CEC_DISPATCHING_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventCommC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.h
index 312535827ca..6acb7ea5260 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_DISPATCHING_TASK_H
-#include "ace/pre.h"
#define TAO_CEC_DISPATCHING_TASK_H
+#include "ace/pre.h"
#include "ace/Task.h"
#include "ace/Message_Block.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_EventChannel.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_EventChannel.h
index a2f40ca897e..4779c12f11b 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_EventChannel.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_EventChannel.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_CEC_EVENTCHANNEL_H
-#include "ace/pre.h"
#define TAO_CEC_EVENTCHANNEL_H
+#include "ace/pre.h"
#include "CEC_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Factory.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Factory.h
index a0e249de1a2..00d5dfde525 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_FACTORY_H
-#include "ace/pre.h"
#define TAO_CEC_FACTORY_H
+#include "ace/pre.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_MT_Dispatching.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_MT_Dispatching.h
index 49a59ecd8b6..b5c2d86e0ff 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_MT_Dispatching.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_MT_Dispatching.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_MT_DISPATCHING_H
-#include "ace/pre.h"
#define TAO_CEC_MT_DISPATCHING_H
+#include "ace/pre.h"
#include "CEC_Dispatching.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.h
index ec05d64eedb..f16f4045ee6 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_PROXYPULLCONSUMER_H
-#include "ace/pre.h"
#define TAO_CEC_PROXYPULLCONSUMER_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.h
index 39073ac700f..eee7039749c 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullSupplier.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_PROXYPULLSUPPLIER_H
-#include "ace/pre.h"
#define TAO_CEC_PROXYPULLSUPPLIER_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.h
index 617f5b2f8bf..6c00d6621bc 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushConsumer.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_PROXYPUSHCONSUMER_H
-#include "ace/pre.h"
#define TAO_CEC_PROXYPUSHCONSUMER_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventChannelAdminS.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.h
index 96012be7539..17d9ec60efb 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CEC_PROXYPUSHSUPPLIER_H
-#include "ace/pre.h"
#define TAO_CEC_PROXYPUSHSUPPLIER_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventChannelAdminS.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Pulling_Strategy.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Pulling_Strategy.h
index f9c54423bbc..44f2719c6d2 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Pulling_Strategy.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Pulling_Strategy.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_CEC_PULLING_STRATEGY_H
-#include "ace/pre.h"
#define TAO_CEC_PULLING_STRATEGY_H
+#include "ace/pre.h"
#include "orbsvcs/CosEvent/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.h
index 7b470ae9055..04c29b1e0a3 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_ConsumerControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CEC_REACTIVE_CONSUMERCONTROL_H
-#include "ace/pre.h"
#define TAO_CEC_REACTIVE_CONSUMERCONTROL_H
+#include "ace/pre.h"
#include "CEC_ConsumerControl.h"
#include "orbsvcs/Event/EC_Worker.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.h
index 9ea758a289e..e3aa7774504 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_Pulling_Strategy.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_CEC_REACTIVE_PULLING_STRATEGY_H
-#include "ace/pre.h"
#define TAO_CEC_REACTIVE_PULLING_STRATEGY_H
+#include "ace/pre.h"
#include "CEC_Pulling_Strategy.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.h
index a7164dd06b0..1c7f00eaa9b 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Reactive_SupplierControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CEC_REACTIVE_SUPPLIERCONTROL_H
-#include "ace/pre.h"
#define TAO_CEC_REACTIVE_SUPPLIERCONTROL_H
+#include "ace/pre.h"
#include "CEC_SupplierControl.h"
#include "orbsvcs/Event/EC_Worker.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierAdmin.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierAdmin.h
index fc08c7a1ce0..059510de7a5 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierAdmin.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierAdmin.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_CEC_SUPPLIERADMIN_H
-#include "ace/pre.h"
#define TAO_CEC_SUPPLIERADMIN_H
+#include "ace/pre.h"
#include "orbsvcs/CosEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierControl.h b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierControl.h
index 98b8ea46c10..1eacf7ab519 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierControl.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_SupplierControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CEC_SUPPLIERCONTROL_H
-#include "ace/pre.h"
#define TAO_CEC_SUPPLIERCONTROL_H
+#include "ace/pre.h"
#include "orbsvcs/CosEvent/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h
index 632153d0b53..d827b3d42af 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/ConsumerAdmin_i.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef CONSUMERADMIN_I_H
-#include "ace/pre.h"
#define CONSUMERADMIN_I_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/CosEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h
index 7c52eba0bbf..72407eae98e 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/EventChannel_i.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef EVENTCHANNEL_I_H
-#include "ace/pre.h"
#define EVENTCHANNEL_I_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/CosEventChannelAdminC.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h
index 0d61072cef8..6ba85ed185a 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushConsumer_i.h
@@ -19,8 +19,8 @@
// ================================================================
#ifndef _PROXYPUSHCONSUMER_I_H
-#include "ace/pre.h"
#define _PROXYPUSHCONSUMER_I_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "orbsvcs/CosEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h
index 63336740099..276b72d3d8a 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.h
@@ -19,8 +19,8 @@
// ================================================================
#ifndef _PROXYPUSHSUPPLIER_H
-#include "ace/pre.h"
#define _PROXYPUSHSUPPLIER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/CosEventChannelAdminC.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h b/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h
index 83586596172..3c9fb46b1c4 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/SupplierAdmin_i.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef SUPPLIER_ADMIN_I_H
-#include "ace/pre.h"
#define SUPPLIER_ADMIN_I_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/CosEventChannelAdminC.h"
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h b/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h
index 4f53735cc12..d2863e38371 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h
+++ b/TAO/orbsvcs/orbsvcs/CosEvent_Utilities.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_COSEVENT_UTILITIES_H
-#include "ace/pre.h"
#define TAO_COSEVENT_UTILITIES_H
+#include "ace/pre.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/BCU.h b/TAO/orbsvcs/orbsvcs/Event/BCU.h
index 4dd44a8a616..9fef153466f 100644
--- a/TAO/orbsvcs/orbsvcs/Event/BCU.h
+++ b/TAO/orbsvcs/orbsvcs/Event/BCU.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef ACE_BCU_H
-#include "ace/pre.h"
#define ACE_BCU_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h b/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h
index 94fe5793787..7cf8de720f8 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef DEBUG_MACROS_H
-#include "ace/pre.h"
#define DEBUG_MACROS_H
+#include "ace/pre.h"
#if defined (ACE_ES_NOLOGGING)
#define ACE_ES_DEBUG(X)
diff --git a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h b/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h
index 41dba0edead..0b7b754892e 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef ACE_DISPATCHING_MODULES_H
-#include "ace/pre.h"
#define ACE_DISPATCHING_MODULES_H
+#include "ace/pre.h"
#include "tao/Timeprobe.h"
#include "orbsvcs/Event/ReactorTask.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_And_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_And_Filter.h
index 4766de3223c..3ac480fcbb3 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_And_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_And_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_AND_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_AND_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h b/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h
index 4afb8cb03f5..61f565fcafe 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Factory.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_BASIC_FACTORY_H
-#include "ace/pre.h"
#define TAO_EC_BASIC_FACTORY_H
+#include "ace/pre.h"
#include "EC_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h b/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h
index 4633537ed96..5168d75d823 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Basic_Filter_Builder.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_BASIC_FILTER_BUILDER_H
-#include "ace/pre.h"
#define TAO_EC_BASIC_FILTER_BUILDER_H
+#include "ace/pre.h"
#include "EC_Filter_Builder.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Bitmask_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Bitmask_Filter.h
index 50269c51458..f5d7c02160d 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Bitmask_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Bitmask_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_BITMASK_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_BITMASK_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h b/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h
index caafe0b4c0b..8dbb7dc5187 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Busy_Lock.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_BUSY_LOCK_H
-#include "ace/pre.h"
#define TAO_EC_BUSY_LOCK_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Command.h b/TAO/orbsvcs/orbsvcs/Event/EC_Command.h
index 66623273ac2..3ec30798cda 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Command.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Command.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_COMMAND_H
-#include "ace/pre.h"
#define TAO_EC_COMMAND_H
+#include "ace/pre.h"
#include "ace/Functor.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Concrete_Proxy_Set.h b/TAO/orbsvcs/orbsvcs/Event/EC_Concrete_Proxy_Set.h
index 6847a1719e5..be93414a967 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Concrete_Proxy_Set.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Concrete_Proxy_Set.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_CONCRETE_PROXY_SET_H
-#include "ace/pre.h"
#define TAO_EC_CONCRETE_PROXY_SET_H
+#include "ace/pre.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h
index c873bfcda4d..31aa16deff3 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Conjunction_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_CONJUNCTION_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_CONJUNCTION_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h b/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h
index 62949e8082a..74dd1fa746d 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerAdmin.h
@@ -22,8 +22,8 @@
// ============================================================================
#ifndef TAO_EC_CONSUMERADMIN_H
-#include "ace/pre.h"
#define TAO_EC_CONSUMERADMIN_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerControl.h b/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerControl.h
index 4172ee9a7d9..9ec6e84b618 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerControl.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ConsumerControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_CONSUMERCONTROL_H
-#include "ace/pre.h"
#define TAO_EC_CONSUMERCONTROL_H
+#include "ace/pre.h"
#include "orbsvcs/Event/event_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h b/TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h
index 9c1b81749f3..24581dab7e1 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Default_Factory.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_DEFAULT_FACTORY_H
-#include "ace/pre.h"
#define TAO_EC_DEFAULT_FACTORY_H
+#include "ace/pre.h"
#include "EC_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h b/TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h
index a6274efc562..a585189b939 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Defaults.h
@@ -27,8 +27,8 @@
// ============================================================================
#ifndef TAO_EC_DEFAULTS_H
-#include "ace/pre.h"
#define TAO_EC_DEFAULTS_H
+#include "ace/pre.h"
#ifndef TAO_EC_ENABLE_DEBUG_MESSAGES
#define TAO_EC_ENABLE_DEBUG_MESSAGES 0
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h
index a3c696e7763..94d597e3d46 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Disjunction_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_DISJUNCTION_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_DISJUNCTION_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h b/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h
index 1dffeb5ffa5..6660b24571d 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_DISPATCHING_H
-#include "ace/pre.h"
#define TAO_EC_DISPATCHING_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventCommC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h b/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h
index 932d101a3a7..ab826954cbb 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Dispatching_Task.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_DISPATCHING_TASK_H
-#include "ace/pre.h"
#define TAO_EC_DISPATCHING_TASK_H
+#include "ace/pre.h"
#include "EC_ProxySupplier.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h b/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h
index be129baaf54..910c6d650db 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel.h
@@ -24,8 +24,8 @@
// ============================================================================
#ifndef TAO_EC_EVENT_CHANNEL_H
-#include "ace/pre.h"
#define TAO_EC_EVENT_CHANNEL_H
+#include "ace/pre.h"
#include "EC_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Factory.h b/TAO/orbsvcs/orbsvcs/Event/EC_Factory.h
index c90dfad6fbe..4a2e7076fe8 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Factory.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_FACTORY_H
-#include "ace/pre.h"
#define TAO_EC_FACTORY_H
+#include "ace/pre.h"
#include "orbsvcs/Event/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Filter.h
index 6049ce9f0e8..620e4eaadf9 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_FILTER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventCommC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h b/TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h
index af9b7b5a7a3..842078e7018 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Filter_Builder.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_FILTER_BUILDER_H
-#include "ace/pre.h"
#define TAO_EC_FILTER_BUILDER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h
index 8f5a77a73c0..307cc23adf1 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway.h
@@ -31,8 +31,8 @@
// ============================================================================
#ifndef TAO_EC_GATEWAY_H
-#include "ace/pre.h"
#define TAO_EC_GATEWAY_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "orbsvcs/RtecEventCommS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h
index 19090205e56..6d1d6cdb9b6 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Gateway_UDP.h
@@ -51,8 +51,8 @@
// ============================================================================
#ifndef TAO_EC_GATEWAY_UDP_H
-#include "ace/pre.h"
#define TAO_EC_GATEWAY_UDP_H
+#include "ace/pre.h"
#include "ace/SOCK_CODgram.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h b/TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h
index a1933264be6..17129ca6336 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_MT_Dispatching.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_MT_DISPATCHING_H
-#include "ace/pre.h"
#define TAO_EC_MT_DISPATCHING_H
+#include "ace/pre.h"
#include "EC_Dispatching.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Masked_Type_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Masked_Type_Filter.h
index 261925e778b..0e0c8e80ed1 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Masked_Type_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Masked_Type_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_MASKED_TYPE_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_MASKED_TYPE_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.h
index 286f352f4c1..6d101050de5 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Negation_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_NEGATION_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_NEGATION_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h b/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h
index 289671c2b80..78b0396a863 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Null_Factory.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_NULL_FACTORY_H
-#include "ace/pre.h"
#define TAO_EC_NULL_FACTORY_H
+#include "ace/pre.h"
#include "EC_Factory.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h b/TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h
index 116fa964019..c11b579776b 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Null_Scheduling.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_NULL_SCHEDULING_H
-#include "ace/pre.h"
#define TAO_EC_NULL_SCHEDULING_H
+#include "ace/pre.h"
#include "EC_Scheduling_Strategy.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h b/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h
index 4608ee42a37..254fdbeaf9c 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ObserverStrategy.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_OBSERVERSTRATEGY_H
-#include "ace/pre.h"
#define TAO_EC_OBSERVERSTRATEGY_H
+#include "ace/pre.h"
#include "EC_Worker.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h
index e9e6becfc6c..73a21552344 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Per_Supplier_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_PER_SUPPLIER_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_PER_SUPPLIER_FILTER_H
+#include "ace/pre.h"
#include "EC_Supplier_Filter.h"
#include "EC_Supplier_Filter_Builder.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Prefix_Filter_Builder.h b/TAO/orbsvcs/orbsvcs/Event/EC_Prefix_Filter_Builder.h
index dbea1c1e14d..5e20ce61d3f 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Prefix_Filter_Builder.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Prefix_Filter_Builder.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_PREFIX_FILTER_BUILDER_H
-#include "ace/pre.h"
#define TAO_EC_PREFIX_FILTER_BUILDER_H
+#include "ace/pre.h"
#include "EC_Filter_Builder.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h b/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h
index 189e281ca0f..1c246d9c8e4 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Dispatching.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_PRIORITY_DISPATCHING_H
-#include "ace/pre.h"
#define TAO_EC_PRIORITY_DISPATCHING_H
+#include "ace/pre.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h b/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h
index bbb237794b2..7c698dda626 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Priority_Scheduling.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_PRIORITY_SCHEDULING_H
-#include "ace/pre.h"
#define TAO_EC_PRIORITY_SCHEDULING_H
+#include "ace/pre.h"
#include "EC_Scheduling_Strategy.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h
index 1d6d3cd8dae..0798ab3cc15 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_PROXYCONSUMER_H
-#include "ace/pre.h"
#define TAO_EC_PROXYCONSUMER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "orbsvcs/Event/EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h b/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h
index db0e3093a3c..d42e958b040 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_PROXYSUPPLIER_H
-#include "ace/pre.h"
#define TAO_EC_PROXYSUPPLIER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "orbsvcs/Event/EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Collection.h b/TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Collection.h
index 6809311b516..3ca9c10df9c 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Collection.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Collection.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_PROXY_COLLECTION_H
-#include "ace/pre.h"
#define TAO_EC_PROXY_COLLECTION_H
+#include "ace/pre.h"
#include "EC_Busy_Lock.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h b/TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h
index 945dbbbd895..9380a58586c 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_QOS_Info.h
@@ -22,8 +22,8 @@
// ============================================================================
#ifndef TAO_EC_QOS_INFO_H
-#include "ace/pre.h"
#define TAO_EC_QOS_INFO_H
+#include "ace/pre.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.h b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.h
index 22ae408d103..391a64175e0 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_ConsumerControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_REACTIVE_CONSUMERCONTROL_H
-#include "ace/pre.h"
#define TAO_EC_REACTIVE_CONSUMERCONTROL_H
+#include "ace/pre.h"
#include "EC_ConsumerControl.h"
#include "EC_Worker.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.h b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.h
index bc5b417df1e..9e3d7850a24 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_SupplierControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_REACTIVE_SUPPLIERCONTROL_H
-#include "ace/pre.h"
#define TAO_EC_REACTIVE_SUPPLIERCONTROL_H
+#include "ace/pre.h"
#include "EC_SupplierControl.h"
#include "EC_Worker.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h
index 4afbf5b7adc..404cdd2533c 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Reactive_Timeout_Generator.h
@@ -24,8 +24,8 @@
// ============================================================================
#ifndef TAO_EC_REACTIVE_TIMEOUT_GENERATOR_H
-#include "ace/pre.h"
#define TAO_EC_REACTIVE_TIMEOUT_GENERATOR_H
+#include "ace/pre.h"
#include "EC_Timeout_Generator.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h
index 958732541f6..15ea75b835a 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_SCHED_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_SCHED_FILTER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h b/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h
index e8aa8645d09..f887f1cc0a8 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Sched_Filter_Builder.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_SCHED_FILTER_BUILDER_H
-#include "ace/pre.h"
#define TAO_EC_SCHED_FILTER_BUILDER_H
+#include "ace/pre.h"
#include "EC_Filter_Builder.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h b/TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h
index 8a78716d17f..b9a58887a41 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_SCHEDULING_STRATEGY_H
-#include "ace/pre.h"
#define TAO_EC_SCHEDULING_STRATEGY_H
+#include "ace/pre.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "orbsvcs/RtecEventCommC.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h b/TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h
index f63daf913fc..b0b6652789b 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_SupplierAdmin.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_SUPPLIERADMIN_H
-#include "ace/pre.h"
#define TAO_EC_SUPPLIERADMIN_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_SupplierControl.h b/TAO/orbsvcs/orbsvcs/Event/EC_SupplierControl.h
index 7eb3a8769d8..34200339341 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_SupplierControl.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_SupplierControl.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_SUPPLIERCONTROL_H
-#include "ace/pre.h"
#define TAO_EC_SUPPLIERCONTROL_H
+#include "ace/pre.h"
#include "orbsvcs/Event/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter.h
index 195c176e940..c57640cb409 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter.h
@@ -27,8 +27,8 @@
// ============================================================================
#ifndef TAO_EC_SUPPLIER_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_SUPPLIER_FILTER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventCommC.h"
#include "EC_Worker.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h b/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h
index 32e6f8643b9..a187d734dc9 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Supplier_Filter_Builder.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_SUPPLIER_FILTER_BUILDER_H
-#include "ace/pre.h"
#define TAO_EC_SUPPLIER_FILTER_BUILDER_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h
index 1203d4d176a..cd49fc1f5c9 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_TIMEOUT_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_TIMEOUT_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h b/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h
index 46a0751ceba..cb780f373f0 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Timeout_Generator.h
@@ -24,8 +24,8 @@
// ============================================================================
#ifndef TAO_EC_TIMEOUT_GENERATOR_H
-#include "ace/pre.h"
#define TAO_EC_TIMEOUT_GENERATOR_H
+#include "ace/pre.h"
#include "orbsvcs/Event/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h
index 45b08643a89..d84255cda4a 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Trivial_Supplier_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_TRIVIAL_SUPPLIER_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_TRIVIAL_SUPPLIER_FILTER_H
+#include "ace/pre.h"
#include "EC_Supplier_Filter.h"
#include "EC_Supplier_Filter_Builder.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h b/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h
index 78bde97cc41..9941e5627ba 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_EC_TYPE_FILTER_H
-#include "ace/pre.h"
#define TAO_EC_TYPE_FILTER_H
+#include "ace/pre.h"
#include "EC_Filter.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h b/TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h
index fc148f450f1..e41cad55ead 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.h
@@ -32,8 +32,8 @@
// ============================================================================
#ifndef TAO_EC_UDP_ADMIN_H
-#include "ace/pre.h"
#define TAO_EC_UDP_ADMIN_H
+#include "ace/pre.h"
#include "orbsvcs/RtecUDPAdminS.h"
#include "orbsvcs/Event/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Worker.h b/TAO/orbsvcs/orbsvcs/Event/EC_Worker.h
index 5351c5765c4..3735fc6f652 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Worker.h
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_Worker.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EC_WORKER_H
-#include "ace/pre.h"
#define TAO_EC_WORKER_H
+#include "ace/pre.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.h b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.h
index 04964416f5c..2e244b0d54f 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Event_Channel.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Event_Channel.h
@@ -28,8 +28,8 @@
// ============================================================================
#ifndef ACE_EVENT_CHANNEL_H
-#include "ace/pre.h"
#define ACE_EVENT_CHANNEL_H
+#include "ace/pre.h"
#include "ace/Containers.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Event_Manip.h b/TAO/orbsvcs/orbsvcs/Event/Event_Manip.h
index 3b1657c0d42..ee947851294 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Event_Manip.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Event_Manip.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef TAO_EC_EVENT_MANIP_H
-#include "ace/pre.h"
#define TAO_EC_EVENT_MANIP_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventCommC.h"
#include "event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h b/TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h
index d4ef3c680ec..aad3fae0a57 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h
@@ -2,8 +2,8 @@
// $Id$
//
#ifndef FAST_REACTOR_H
-#include "ace/pre.h"
#define FAST_REACTOR_H
+#include "ace/pre.h"
#if defined (ACE_OLD_STYLE_REACTOR)
# if defined (ACE_WIN32)
diff --git a/TAO/orbsvcs/orbsvcs/Event/GPlot_File.h b/TAO/orbsvcs/orbsvcs/Event/GPlot_File.h
index 15ed792d36f..454fe0fdf44 100644
--- a/TAO/orbsvcs/orbsvcs/Event/GPlot_File.h
+++ b/TAO/orbsvcs/orbsvcs/Event/GPlot_File.h
@@ -11,8 +11,8 @@
// ============================================================================
#ifndef ACE_GPlot_File_H
-#include "ace/pre.h"
#define ACE_GPlot_File_H
+#include "ace/pre.h"
#include "ace/Map_Manager.h"
#include "orbsvcs/Event/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h b/TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h
index 474e55a6c8d..f17700b4295 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef ACE_LOCAL_ESTYPES_H
-#include "ace/pre.h"
#define ACE_LOCAL_ESTYPES_H
+#include "ace/pre.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h b/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h
index 26efd225932..6d68725793d 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ACE_MEMORY_POOLS_H
-#include "ace/pre.h"
#define ACE_MEMORY_POOLS_H
+#include "ace/pre.h"
#include "ace/Synch.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Module_Factory.h b/TAO/orbsvcs/orbsvcs/Event/Module_Factory.h
index df2a642ac94..cb9afe7b408 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Module_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Module_Factory.h
@@ -25,8 +25,8 @@
// ============================================================================
#ifndef TAO_MODULE_FACTORY_H
-#include "ace/pre.h"
#define TAO_MODULE_FACTORY_H
+#include "ace/pre.h"
#include "orbsvcs/Event/event_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/RT_Task.h b/TAO/orbsvcs/orbsvcs/Event/RT_Task.h
index 8d4c718a5e0..2cf4fbbeaf4 100644
--- a/TAO/orbsvcs/orbsvcs/Event/RT_Task.h
+++ b/TAO/orbsvcs/orbsvcs/Event/RT_Task.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef ACE_RT_TASK_H
-#include "ace/pre.h"
#define ACE_RT_TASK_H
+#include "ace/pre.h"
#include "ace/Task.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event/Timer_Module.h b/TAO/orbsvcs/orbsvcs/Event/Timer_Module.h
index b08f9c65955..ef50311ef2e 100644
--- a/TAO/orbsvcs/orbsvcs/Event/Timer_Module.h
+++ b/TAO/orbsvcs/orbsvcs/Event/Timer_Module.h
@@ -4,8 +4,8 @@
//
#ifndef TAO_EC_TIMER_MODULE_H
-#include "ace/pre.h"
#define TAO_EC_TIMER_MODULE_H
+#include "ace/pre.h"
#include "ace/ACE.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event_Service_Constants.h b/TAO/orbsvcs/orbsvcs/Event_Service_Constants.h
index 756e99a03e9..7f6c445b5b5 100644
--- a/TAO/orbsvcs/orbsvcs/Event_Service_Constants.h
+++ b/TAO/orbsvcs/orbsvcs/Event_Service_Constants.h
@@ -6,8 +6,8 @@
//
#ifndef ACE_ES_CONSTANTS_H
-#include "ace/pre.h"
#define ACE_ES_CONSTANTS_H
+#include "ace/pre.h"
#include "ace/Message_Block.h"
diff --git a/TAO/orbsvcs/orbsvcs/Event_Utilities.h b/TAO/orbsvcs/orbsvcs/Event_Utilities.h
index 879bc7fa7ca..5d159309723 100644
--- a/TAO/orbsvcs/orbsvcs/Event_Utilities.h
+++ b/TAO/orbsvcs/orbsvcs/Event_Utilities.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ACE_EVENT_UTILITIES_H
-#include "ace/pre.h"
#define ACE_EVENT_UTILITIES_H
+#include "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/Event_Service_Constants.h"
diff --git a/TAO/orbsvcs/orbsvcs/IOR_Multicast.h b/TAO/orbsvcs/orbsvcs/IOR_Multicast.h
index a211d0585a6..bed5e24ed3d 100644
--- a/TAO/orbsvcs/orbsvcs/IOR_Multicast.h
+++ b/TAO/orbsvcs/orbsvcs/IOR_Multicast.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_IOR_MULTICAST_H
-#include "ace/pre.h"
#define TAO_IOR_MULTICAST_H
+#include "ace/pre.h"
#include "tao/corba.h"
#include "orbsvcs/svc_utils_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/BasicLogFactory_i.h b/TAO/orbsvcs/orbsvcs/Log/BasicLogFactory_i.h
index b620ee6e6e2..e291baa60e2 100644
--- a/TAO/orbsvcs/orbsvcs/Log/BasicLogFactory_i.h
+++ b/TAO/orbsvcs/orbsvcs/Log/BasicLogFactory_i.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TLS_BASICLOGFACTORY_I_H
-#include "ace/pre.h"
#define TLS_BASICLOGFACTORY_I_H
+#include "ace/pre.h"
#include "orbsvcs/DsLogAdminS.h"
#include "orbsvcs/Log/LogMgr_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/BasicLog_i.h b/TAO/orbsvcs/orbsvcs/Log/BasicLog_i.h
index 9f26b5c081b..aca57dc79ed 100644
--- a/TAO/orbsvcs/orbsvcs/Log/BasicLog_i.h
+++ b/TAO/orbsvcs/orbsvcs/Log/BasicLog_i.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TLS_BASICLOG_I_H
-#include "ace/pre.h"
#define TLS_BASICLOG_I_H
+#include "ace/pre.h"
#include "orbsvcs/DsLogAdminS.h"
#include "orbsvcs/Log/Log_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/Iterator_i.h b/TAO/orbsvcs/orbsvcs/Log/Iterator_i.h
index 19985c6f908..7b4ff48eb1f 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Iterator_i.h
+++ b/TAO/orbsvcs/orbsvcs/Log/Iterator_i.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TLS_ITERATOR_H
-#include "ace/pre.h"
#define TLS_ITERATOR_H
+#include "ace/pre.h"
#include "orbsvcs/DsLogAdminS.h"
#include "orbsvcs/Log/LogRecordStore.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h b/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h
index 2afd8285307..dbc6b31db9b 100644
--- a/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h
+++ b/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TLS_LOGMGR_I_H
-#include "ace/pre.h"
#define TLS_LOGMGR_I_H
+#include "ace/pre.h"
#include "orbsvcs/DsLogAdminS.h"
#include "orbsvcs/Log/BasicLog_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.h b/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.h
index 21f0249a06f..ff8ffd3fa89 100644
--- a/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.h
+++ b/TAO/orbsvcs/orbsvcs/Log/LogRecordStore.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef LOG_RECORD_STORE_H
-#include "ace/pre.h"
#define LOG_RECORD_STORE_H
+#include "ace/pre.h"
#include "orbsvcs/DsLogAdminS.h"
#include "orbsvcs/DsLogAdminC.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.h b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.h
index c70a202bf98..07cfca1fd89 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.h
+++ b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_LOG_CONSTRAINT_INTERPRETER_H
-#include "ace/pre.h"
#define TAO_LOG_CONSTRAINT_INTERPRETER_H
+#include "ace/pre.h"
#include "orbsvcs/orbsvcs/Trader/Constraint_Nodes.h"
#include "orbsvcs/orbsvcs/Trader/Constraint_Visitors.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.h b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.h
index 20a1ea043cf..00677bfb9d5 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.h
+++ b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Visitors.h
@@ -14,8 +14,8 @@
// ========================================================================
#ifndef TAO_LOG_CONSTRAINT_VISITOR_H
-#include "ace/pre.h"
#define TAO_LOG_CONSTRAINT_VISITOR_H
+#include "ace/pre.h"
#include "orbsvcs/orbsvcs/Trader/Constraint_Visitors.h"
#include "orbsvcs/DsLogAdminC.h"
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_i.h b/TAO/orbsvcs/orbsvcs/Log/Log_i.h
index 1414fe979da..8d9b3e37ed7 100644
--- a/TAO/orbsvcs/orbsvcs/Log/Log_i.h
+++ b/TAO/orbsvcs/orbsvcs/Log/Log_i.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TLS_LOG_I_H
-#include "ace/pre.h"
#define TLS_LOG_I_H
+#include "ace/pre.h"
#include "orbsvcs/Log/LogRecordStore.h"
#include "orbsvcs/DsLogAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h b/TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h
index d8858b50dda..7dce456a5b4 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Bindings_Iterator_T.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_BINDINGS_ITERATOR_T_H
-#include "ace/pre.h"
#define TAO_BINDINGS_ITERATOR_T_H
+#include "ace/pre.h"
#include "Hash_Naming_Context.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Entries.h b/TAO/orbsvcs/orbsvcs/Naming/Entries.h
index b4d128d8ce2..958eb7a62a7 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Entries.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Entries.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_ENTRIES_H
-#include "ace/pre.h"
#define TAO_ENTRIES_H
+#include "ace/pre.h"
#include "ace/Hash_Map_Manager.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h b/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
index 0eeed905ad0..62826d54c09 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Hash_Naming_Context.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_HASH_NAMING_CONTEXT_H
-#include "ace/pre.h"
#define TAO_HASH_NAMING_CONTEXT_H
+#include "ace/pre.h"
#include "Naming_Context_Interface.h"
#include "naming_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h b/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h
index 60f7ce7276a..2b1382c0df2 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_NAMING_CONTEXT_INTERFACE_H
-#include "ace/pre.h"
#define TAO_NAMING_CONTEXT_INTERFACE_H
+#include "ace/pre.h"
#include "orbsvcs/CosNamingS.h"
#include "naming_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
index bbecdd2368d..bbcd6df6a03 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_NAMING_UTILS_H
-#include "ace/pre.h"
#define TAO_NAMING_UTILS_H
+#include "ace/pre.h"
#include "tao/corba.h"
#include "orbsvcs/CosNamingC.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h
index f36da534f41..325d4920116 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_PERSISTENT_CONTEXT_INDEX_H
-#include "ace/pre.h"
#define TAO_PERSISTENT_CONTEXT_INDEX_H
+#include "ace/pre.h"
#include "Persistent_Entries.h"
#include "naming_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h
index c7d0127ee18..643c20db0e3 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Entries.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_PERSISTENT_ENTRIES_H
-#include "ace/pre.h"
#define TAO_PERSISTENT_ENTRIES_H
+#include "ace/pre.h"
#include "ace/Hash_Map_With_Allocator_T.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h
index 9fc93eb20da..a9fbbf636d9 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Naming_Context.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_PERSISTENT_NAMING_CONTEXT_H
-#include "ace/pre.h"
#define TAO_PERSISTENT_NAMING_CONTEXT_H
+#include "ace/pre.h"
#include "Hash_Naming_Context.h"
#include "Persistent_Entries.h"
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h b/TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h
index 62ac3664a30..d66265afdfe 100644
--- a/TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h
+++ b/TAO/orbsvcs/orbsvcs/Naming/Transient_Naming_Context.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_TRANSIENT_NAMING_CONTEXT_H
-#include "ace/pre.h"
#define TAO_TRANSIENT_NAMING_CONTEXT_H
+#include "ace/pre.h"
#include "Hash_Naming_Context.h"
#include "Entries.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Interpreter.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Interpreter.h
index f93d07f0823..6b26dda03ee 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Interpreter.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Interpreter.h
@@ -17,8 +17,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_CONSTRAINT_INTERPRETER_H
-#include "ace/pre.h"
#define TAO_NOTIFY_CONSTRAINT_INTERPRETER_H
+#include "ace/pre.h"
#include "orbsvcs/Trader/Constraint_Nodes.h"
#include "orbsvcs/Trader/Constraint_Visitors.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.h
index bd30bf1035e..8a2eff65dad 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.h
@@ -17,8 +17,8 @@
// ==========================================================================
#ifndef NOTIFY_CONSTRAINT_VISITORS_H
-#include "ace/pre.h"
#define NOTIFY_CONSTRAINT_VISITORS_H
+#include "ace/pre.h"
#include "ace/Hash_Map_Manager.h"
#include "orbsvcs/orbsvcs/Trader/Constraint_Visitors.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.h
index ce12971e79c..4f007482770 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.h
@@ -15,8 +15,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_CONSUMERADMIN_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_CONSUMERADMIN_I_H
+#include "ace/pre.h"
#include "Notify_ID_Pool_T.h"
#include "Notify_QoSAdmin_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.h
index 6c8d07a6daa..f1918e193ee 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannelFactory_i.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef NOTIFY_EVENTCHANNELFACTORY_I_H
-#include "ace/pre.h"
#define NOTIFY_EVENTCHANNELFACTORY_I_H
+#include "ace/pre.h"
#include "Notify_ID_Pool_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.h
index cf617dde710..0c6063299b9 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_EventChannel_i.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_EVENTCHANNEL_I_H_
-#include "ace/pre.h"
#define TAO_NOTIFY_EVENTCHANNEL_I_H_
+#include "ace/pre.h"
#include "Notify_ID_Pool_T.h"
#include "Notify_QoSAdmin_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.h
index 045fc21174f..3c03ca7c951 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Event_Manager.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_EVENT_MANAGER
-#include "ace/pre.h"
#define TAO_NOTIFY_EVENT_MANAGER
+#include "ace/pre.h"
#include "Notify_Listeners.h"
#include "Notify_Types.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterAdmin_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterAdmin_i.h
index cc6d491f062..d064dc33785 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterAdmin_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterAdmin_i.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef NOTIFY_FILTERADMIN_H
-#include "ace/pre.h"
#define NOTIFY_FILTERADMIN_H
+#include "ace/pre.h"
#include "Notify_ID_Pool_T.h"
#include "Notify_Types.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterFactory_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterFactory_i.h
index b6cf75458d3..c0f411a7b2d 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterFactory_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_FilterFactory_i.h
@@ -17,8 +17,8 @@
// ==========================================================================
#ifndef NOTIFY_FILTER_FACTORY_I_H
-#include "ace/pre.h"
#define NOTIFY_FILTER_FACTORY_I_H
+#include "ace/pre.h"
#include "orbsvcs/orbsvcs/CosNotifyFilterS.h"
#include "notify_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Filter_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Filter_i.h
index 82492e26d34..410f7eac2da 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Filter_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Filter_i.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_FILTER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_FILTER_I_H
+#include "ace/pre.h"
#include "Notify_Constraint_Interpreter.h"
#include "Notify_ID_Pool_T.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.h
index b1801d1e7a2..21b11a482b6 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_ID_POOL_T_H
-#include "ace/pre.h"
#define TAO_NOTIFY_ID_POOL_T_H
+#include "ace/pre.h"
#include "ace/OS.h"
#include "ace/Containers_T.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Listeners.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Listeners.h
index 533b55347fc..9cda9311b3c 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Listeners.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Listeners.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_LISTENERS_H
-#include "ace/pre.h"
#define TAO_NOTIFY_LISTENERS_H
+#include "ace/pre.h"
#include "Notify_Types.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyConsumer_T.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyConsumer_T.h
index 7096dbf1791..7322e5539a8 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyConsumer_T.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyConsumer_T.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_PROXYCONSUMER_T_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PROXYCONSUMER_T_H
+#include "ace/pre.h"
#include "Notify_Proxy_T.h"
class TAO_Notify_SupplierAdmin_i;
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushConsumer_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushConsumer_i.h
index 8849ff9070f..2726c4e0f84 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushConsumer_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushConsumer_i.h
@@ -17,8 +17,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_PROXYPUSHCONSUMER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PROXYPUSHCONSUMER_I_H
+#include "ace/pre.h"
#include "Notify_ProxyConsumer_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushSupplier_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushSupplier_i.h
index 3f105c0613c..9cbe3ae70ac 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushSupplier_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxyPushSupplier_i.h
@@ -16,8 +16,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_PROXYPUSHSUPPLIER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PROXYPUSHSUPPLIER_I_H
+#include "ace/pre.h"
#include "Notify_ProxySupplier_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.h
index d2ff53d2e28..4304c88e31f 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.h
@@ -15,8 +15,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_PROXY_SUPPLIER_T_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PROXY_SUPPLIER_T_H
+#include "ace/pre.h"
#include "Notify_Proxy_T.h"
class TAO_Notify_ConsumerAdmin_i;
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Proxy_T.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Proxy_T.h
index afee2bda0e1..02415a3ddd5 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Proxy_T.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Proxy_T.h
@@ -15,8 +15,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_PROXY_T_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PROXY_T_H
+#include "ace/pre.h"
#include "Notify_QoSAdmin_i.h"
#include "Notify_FilterAdmin_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_PushConsumer.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_PushConsumer.h
index f1e19fbf8af..5d96e221026 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_PushConsumer.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_PushConsumer.h
@@ -25,8 +25,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_PUSHCONSUMER_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PUSHCONSUMER_H
+#include "ace/pre.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_PushSupplier.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_PushSupplier.h
index d98c11a565a..161abf25d67 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_PushSupplier.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_PushSupplier.h
@@ -1,7 +1,7 @@
// $Id$
#ifndef TAO_NOTIFY_PUSHSUPPLIER_H
-#include "ace/pre.h"
#define TAO_NOTIFY_PUSHSUPPLIER_H
+#include "ace/pre.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_QoSAdmin_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_QoSAdmin_i.h
index e8f58023ab0..b4388336c73 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_QoSAdmin_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_QoSAdmin_i.h
@@ -16,8 +16,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_QOSADMIN_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_QOSADMIN_I_H
+#include "ace/pre.h"
#include "orbsvcs/CosNotificationS.h"
#include "notify_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h
index f24292edc53..9cacae48d2f 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Resource_Manager.h
@@ -15,8 +15,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_RESOURCE_MANAGER
-#include "ace/pre.h"
#define TAO_NOTIFY_RESOURCE_MANAGER
+#include "ace/pre.h"
#include "Notify_ID_Pool_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushConsumer_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushConsumer_i.h
index e08d23a6b59..fc130c50473 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushConsumer_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushConsumer_i.h
@@ -18,8 +18,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_SEQUENCEPROXYPUSHCONSUMER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_SEQUENCEPROXYPUSHCONSUMER_I_H
+#include "ace/pre.h"
#include "Notify_ProxyConsumer_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushSupplier_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushSupplier_i.h
index e441296e962..5d7a5cc0288 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushSupplier_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_SequenceProxyPushSupplier_i.h
@@ -16,8 +16,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_SEQUENCEPROXYPUSHSUPPLIER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_SEQUENCEPROXYPUSHSUPPLIER_I_H
+#include "ace/pre.h"
#include "Notify_ProxySupplier_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushConsumer_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushConsumer_i.h
index 71708dcdff0..5a7d16ea94b 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushConsumer_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushConsumer_i.h
@@ -18,8 +18,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_STRUCTUREDPROXYPUSHCONSUMER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_STRUCTUREDPROXYPUSHCONSUMER_I_H
+#include "ace/pre.h"
#include "Notify_ProxyConsumer_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushSupplier_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushSupplier_i.h
index aa3bface018..d3020436757 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushSupplier_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredProxyPushSupplier_i.h
@@ -16,8 +16,8 @@
//
// ==========================================================================
#ifndef TAO_NOTIFY_STRUCTUREDPROXYPUSHSUPPLIER_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_STRUCTUREDPROXYPUSHSUPPLIER_I_H
+#include "ace/pre.h"
#include "Notify_ProxySupplier_T.h"
#include "orbsvcs/CosNotifyChannelAdminS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushConsumer.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushConsumer.h
index 48d1749b41b..b4c86ed6dea 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushConsumer.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushConsumer.h
@@ -18,8 +18,8 @@
// ==========================================================================
#ifndef NOTIFY_STRUCTUREDPUSHCONSUMER_H
-#include "ace/pre.h"
#define NOTIFY_STRUCTUREDPUSHCONSUMER_H
+#include "ace/pre.h"
#include "orbsvcs/orbsvcs/CosNotifyChannelAdminS.h"
#include "notify_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushSupplier.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushSupplier.h
index fbe5a10d237..9bc4e81ebe6 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushSupplier.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_StructuredPushSupplier.h
@@ -17,8 +17,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_STRUCTUREDPUSHSUPPLIER_H
-#include "ace/pre.h"
#define TAO_NOTIFY_STRUCTUREDPUSHSUPPLIER_H
+#include "ace/pre.h"
#include "orbsvcs/orbsvcs/CosNotifyChannelAdminS.h"
#include "notify_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_SupplierAdmin_i.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_SupplierAdmin_i.h
index 26ec9b5bfbe..12f45594113 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_SupplierAdmin_i.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_SupplierAdmin_i.h
@@ -17,8 +17,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_SUPPLIERADMIN_I_H
-#include "ace/pre.h"
#define TAO_NOTIFY_SUPPLIERADMIN_I_H
+#include "ace/pre.h"
#include "Notify_ID_Pool_T.h"
#include "Notify_QoSAdmin_i.h"
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_Types.h b/TAO/orbsvcs/orbsvcs/Notify/Notify_Types.h
index 9e02aad2fbc..df62e4aeb51 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Notify_Types.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_Types.h
@@ -16,8 +16,8 @@
// ==========================================================================
#ifndef TAO_NOTIFY_TYPES_H
-#include "ace/pre.h"
#define TAO_NOTIFY_TYPES_H
+#include "ace/pre.h"
#include "orbsvcs/CosNotifyFilterC.h"
#include "orbsvcs/CosNotifyCommC.h"
diff --git a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
index 76f3e4dc6d4..aac976aa4bc 100644
--- a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
+++ b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef COSPROPERTYSERVICE_I_H
-#include "ace/pre.h"
#define COSPROPERTYSERVICE_I_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h
index f8485d7afb6..411f6064363 100644
--- a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h
+++ b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ACE_RUNTIME_SCHEDULER_H
-#include "ace/pre.h"
#define ACE_RUNTIME_SCHEDULER_H
+#include "ace/pre.h"
#include "orbsvcs/Scheduler_Factory.h"
#include "orbsvcs/RtecSchedulerS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h b/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h
index 6ba0726e8b6..2998cbc5e59 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef ACE_CONFIG_SCHEDULER_H
-#include "ace/pre.h"
#define ACE_CONFIG_SCHEDULER_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/DynSched.h b/TAO/orbsvcs/orbsvcs/Sched/DynSched.h
index ffed3d200e5..29220b1d687 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/DynSched.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/DynSched.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef DYNSCHED_H
-#include "ace/pre.h"
#define DYNSCHED_H
+#include "ace/pre.h"
#include "ace/ACE.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h
index 27cc744ced2..5b4a8a5dd4f 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_RECONFIG_SCHED_UTILS_H
-#include "ace/pre.h"
#define TAO_RECONFIG_SCHED_UTILS_H
+#include "ace/pre.h"
#include "ace/inc_user_config.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h
index 6121c2afac6..ca913bf9f1e 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Sched_Utils_T.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_RECONFIG_SCHED_UTILS_T_H
-#include "ace/pre.h"
#define TAO_RECONFIG_SCHED_UTILS_T_H
+#include "ace/pre.h"
#include "ace/inc_user_config.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h
index 1fe0fca0f53..125abcdcdb4 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_RECONFIG_SCHEDULER_H
-#include "ace/pre.h"
#define TAO_RECONFIG_SCHEDULER_H
+#include "ace/pre.h"
#include "ace/inc_user_config.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h
index 69db4254b0a..880aac93e00 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Reconfig_Scheduler_T.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_RECONFIG_SCHEDULER_T_H
-#include "ace/pre.h"
#define TAO_RECONFIG_SCHEDULER_T_H
+#include "ace/pre.h"
#include "ace/inc_user_config.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h b/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h
index 977281b1ece..8dec34d4cac 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef SCHEDENTRY_H
-#include "ace/pre.h"
#define SCHEDENTRY_H
+#include "ace/pre.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "orbsvcs/Event_Service_Constants.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Scheduler.h b/TAO/orbsvcs/orbsvcs/Sched/Scheduler.h
index 7744ab0ff61..86ebf429fed 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Scheduler.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Scheduler.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef SCHEDULER_H
-#include "ace/pre.h"
#define SCHEDULER_H
+#include "ace/pre.h"
#include "ace/ACE.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h b/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h
index 9832f11f145..1ba089017a8 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef SCHEDULER_INTERNAL_H
-#include "ace/pre.h"
#define SCHEDULER_INTERNAL_H
+#include "ace/pre.h"
#include "Scheduler.h"
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h b/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h
index 31fc80ddfdc..d77b72ddae1 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h
+++ b/TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef STRATEGY_SCHEDULER_H
-#include "ace/pre.h"
#define STRATEGY_SCHEDULER_H
+#include "ace/pre.h"
#include "DynSched.h"
diff --git a/TAO/orbsvcs/orbsvcs/Scheduler_Factory.h b/TAO/orbsvcs/orbsvcs/Scheduler_Factory.h
index 0df53ab4d9d..13cf151994b 100644
--- a/TAO/orbsvcs/orbsvcs/Scheduler_Factory.h
+++ b/TAO/orbsvcs/orbsvcs/Scheduler_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ACE_SCHEDULER_FACTORY_H
-#include "ace/pre.h"
#define ACE_SCHEDULER_FACTORY_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h b/TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h
index 55e57a6c208..04daf88fbb1 100644
--- a/TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h
+++ b/TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ACE_SCHEDULER_UTILITIES_H
-#include "ace/pre.h"
#define ACE_SCHEDULER_UTILITIES_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h b/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h
index beb36b72546..4defb483f5d 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_TIO.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_TIO_H
-#include "ace/pre.h"
#define TAO_TIO_H
+#include "ace/pre.h"
#include "tao/TAO.h"
#include "orbsvcs/TimeServiceS.h"
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
index 5ba597d23e9..581ec0b2f7c 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_TIME_SERVICE_CLERK_H
-#include "ace/pre.h"
#define TAO_TIME_SERVICE_CLERK_H
+#include "ace/pre.h"
#include "ace/Reactor.h"
#include "orbsvcs/Naming/Naming_Utils.h"
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h
index b3f27ac0ad3..459a01e6315 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_TIME_SERVICE_SERVER_H
-#include "ace/pre.h"
#define TAO_TIME_SERVICE_SERVER_H
+#include "ace/pre.h"
#include "orbsvcs/TimeServiceS.h"
#include "time_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h
index 879088f8c30..a3523dd75bd 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_UTO_H
-#include "ace/pre.h"
#define TAO_UTO_H
+#include "ace/pre.h"
#include "orbsvcs/TimeServiceS.h"
#include "time_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Time_Utilities.h b/TAO/orbsvcs/orbsvcs/Time_Utilities.h
index 740dfb4344f..5fed9f67d81 100644
--- a/TAO/orbsvcs/orbsvcs/Time_Utilities.h
+++ b/TAO/orbsvcs/orbsvcs/Time_Utilities.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef ORBSVCS_TIME_UTILITIES_H
-#include "ace/pre.h"
#define ORBSVCS_TIME_UTILITIES_H
+#include "ace/pre.h"
#include "orbsvcs/TimeBaseC.h"
#include "orbsvcs/svc_utils_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h
index 3d3c70f4d02..5810f2fec64 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_CONSTRAINT_INTERPRETER_H
-#include "ace/pre.h"
#define TAO_CONSTRAINT_INTERPRETER_H
+#include "ace/pre.h"
#include "Constraint_Nodes.h"
#include "Constraint_Visitors.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h
index a6ee6ddc92a..f8226a995f9 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h
@@ -15,8 +15,8 @@
// =====================================================================
#ifndef TAO_CONSTRAINT_NODES_H
-#include "ace/pre.h"
#define TAO_CONSTRAINT_NODES_H
+#include "ace/pre.h"
#include "Constraint_Tokens.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h
index 6ef96c79d78..74b78e58b44 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef CONSTRAINT_TOKEN_H
-#include "ace/pre.h"
#define CONSTRAINT_TOKEN_H
+#include "ace/pre.h"
# define TAO_GT 257
# define TAO_GE 258
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h
index 88075b800d1..f182e463e83 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_CONSTRAINT_VISITOR_H
-#include "ace/pre.h"
#define TAO_CONSTRAINT_VISITOR_H
+#include "ace/pre.h"
#include "orbsvcs/Trader/Interpreter_Utils.h"
#include "orbsvcs/Trader/trading_export.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Interpreter.h b/TAO/orbsvcs/orbsvcs/Trader/Interpreter.h
index f47eb19acb7..db806cfd225 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Interpreter.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Interpreter.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_TCL_INTERPRETER_H
-#include "ace/pre.h"
#define TAO_TCL_INTERPRETER_H
+#include "ace/pre.h"
#include "Constraint_Nodes.h"
#include "Constraint_Visitors.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.h b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.h
index 054a315a76d..7e4dce4b9ff 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef TAO_INTERPRETER_UTILS_H
-#include "ace/pre.h"
#define TAO_INTERPRETER_UTILS_H
+#include "ace/pre.h"
#include "ace/Hash_Map_Manager.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.h b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.h
index dd7b47ed0f2..2057dd81500 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils_T.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef TAO_INTERPRETER_UTILS_T_H
-#include "ace/pre.h"
#define TAO_INTERPRETER_UTILS_T_H
+#include "ace/pre.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Locking.h b/TAO/orbsvcs/orbsvcs/Trader/Locking.h
index b043bcf55dd..22d5c41e93b 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Locking.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Locking.h
@@ -16,8 +16,8 @@
//
// ==========================================================================
#ifndef TAO_LOCKING_H
-#include "ace/pre.h"
#define TAO_LOCKING_H
+#include "ace/pre.h"
#include "tao/corba.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h b/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
index a4fba3a9c17..cd3f10808dc 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_OFFER_DATABASE_H
-#include "ace/pre.h"
#define TAO_OFFER_DATABASE_H
+#include "ace/pre.h"
#include "Trader.h"
#include "Offer_Iterators.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h
index ac9eb77db9c..611828503e2 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_OFFER_ITERATORS_H
-#include "ace/pre.h"
#define TAO_OFFER_ITERATORS_H
+#include "ace/pre.h"
#include "Trader_Utils.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h
index 6aa94f0de27..477737113f1 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Iterators_T.h
@@ -16,8 +16,8 @@
// ========================================================================
#ifndef TAO_REGISTER_OFFER_ITERATOR_H
-#include "ace/pre.h"
#define TAO_REGISTER_OFFER_ITERATOR_H
+#include "ace/pre.h"
#include "Offer_Iterators.h"
#include "Offer_Database.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h b/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h
index 97b6ed41c4a..a7889dba4fd 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Service_Type_Repository.h
@@ -16,8 +16,8 @@
// ========================================================================
#ifndef TAO_SERVICE_TYPE_REPOSITORY_H
-#include "ace/pre.h"
#define TAO_SERVICE_TYPE_REPOSITORY_H
+#include "ace/pre.h"
#include "Trader.h"
#include "ace/Hash_Map_Manager.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader.h b/TAO/orbsvcs/orbsvcs/Trader/Trader.h
index 8609d3f82ea..35ddb1b4b94 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader.h
@@ -27,8 +27,8 @@
// ============================================================================
#ifndef TAO_TRADER_BASE_H
-#include "ace/pre.h"
#define TAO_TRADER_BASE_H
+#include "ace/pre.h"
#include "Interpreter_Utils.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.h
index aee93b310ba..d8712a72802 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.h
@@ -14,8 +14,8 @@
// ========================================================================
#ifndef TAO_TRADER_CONSTRAINT_VISITOR_H
-#include "ace/pre.h"
#define TAO_TRADER_CONSTRAINT_VISITOR_H
+#include "ace/pre.h"
#include "Constraint_Visitors.h"
#include "Trader.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h
index 2608eb947c1..bf7c9e1e85c 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h
@@ -17,8 +17,8 @@
// ========================================================================
#ifndef TAO_TRADER_INTERFACES_H
-#include "ace/pre.h"
#define TAO_TRADER_INTERFACES_H
+#include "ace/pre.h"
#include "Trader_Utils.h"
#include "Constraint_Interpreter.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h
index e03a353937c..bd95dc85461 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_T.h
@@ -17,8 +17,8 @@
// ========================================================================
#ifndef TAO_TRADER_H
-#include "ace/pre.h"
#define TAO_TRADER_H
+#include "ace/pre.h"
#include "Trader.h"
#include "Offer_Database.h"
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h
index 42d7721419d..e5db59b78ba 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h
@@ -29,8 +29,8 @@
// ========================================================================
#ifndef TAO_TRADER_UTILS_H
-#include "ace/pre.h"
#define TAO_TRADER_UTILS_H
+#include "ace/pre.h"
#include "Trader.h"
diff --git a/TAO/orbsvcs/orbsvcs/orbsvcs_export.h b/TAO/orbsvcs/orbsvcs/orbsvcs_export.h
index 10855aee4c2..26fe74a50a1 100644
--- a/TAO/orbsvcs/orbsvcs/orbsvcs_export.h
+++ b/TAO/orbsvcs/orbsvcs/orbsvcs_export.h
@@ -5,8 +5,8 @@
// ${TAO_ROOT}/TAO_IDL/GenExportH.BAT
// ------------------------------
#ifndef TAO_ORBSVCS_EXPORT_H
-#include "ace/pre.h"
#define TAO_ORBSVCS_EXPORT_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile
index e630b65f661..3f07e0ae19d 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Makefile
@@ -53,7 +53,7 @@ BIN = server \
client \
collocation/collocation_test
-TAO_IDLFLAGS += -Ge 1
+TAO_IDLFLAGS += -Ge 1 -Gd
#----------------------------------------------------------------------------
# Include macros and targets
diff --git a/TAO/tao/Acceptor_Impl.h b/TAO/tao/Acceptor_Impl.h
index ae6dc9fd29e..bc78aafd12d 100644
--- a/TAO/tao/Acceptor_Impl.h
+++ b/TAO/tao/Acceptor_Impl.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_ACCEPTOR_IMPL_H
-#include "ace/pre.h"
#define TAO_ACCEPTOR_IMPL_H
+#include "ace/pre.h"
#include "ace/Acceptor.h"
diff --git a/TAO/tao/Acceptor_Registry.h b/TAO/tao/Acceptor_Registry.h
index adf9988ea29..ca603e2c693 100644
--- a/TAO/tao/Acceptor_Registry.h
+++ b/TAO/tao/Acceptor_Registry.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_ACCEPTOR_REGISTRY_H
-#include "ace/pre.h"
#define TAO_ACCEPTOR_REGISTRY_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/Active_Object_Map.h b/TAO/tao/Active_Object_Map.h
index 79889e54171..70795bdc07f 100644
--- a/TAO/tao/Active_Object_Map.h
+++ b/TAO/tao/Active_Object_Map.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_ACTIVE_OBJECT_MAP_H
-#include "ace/pre.h"
#define TAO_ACTIVE_OBJECT_MAP_H
+#include "ace/pre.h"
#include "tao/Key_Adapters.h"
#include "tao/Server_Strategy_Factory.h"
diff --git a/TAO/tao/Any.h b/TAO/tao/Any.h
index aff2d328074..038982acf31 100644
--- a/TAO/tao/Any.h
+++ b/TAO/tao/Any.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_ANY_H
-#include "ace/pre.h"
#define TAO_ANY_H
+#include "ace/pre.h"
#include "tao/CDR.h"
diff --git a/TAO/tao/Asynch_Invocation.h b/TAO/tao/Asynch_Invocation.h
index ded4a15bc08..be7fc3915b4 100644
--- a/TAO/tao/Asynch_Invocation.h
+++ b/TAO/tao/Asynch_Invocation.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_ASYNCH_INVOCATION_H
-#include "ace/pre.h"
#define TAO_ASYNCH_INVOCATION_H
+#include "ace/pre.h"
#include "tao/Invocation.h"
diff --git a/TAO/tao/BoundsC.h b/TAO/tao/BoundsC.h
index 801d27767d4..f4af7ead55e 100644
--- a/TAO/tao/BoundsC.h
+++ b/TAO/tao/BoundsC.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_BOUNDSC_H_
-#include "ace/pre.h"
#define _TAO_IDL_BOUNDSC_H_
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/Exception.h"
diff --git a/TAO/tao/Buffering_Constraint_Policy.h b/TAO/tao/Buffering_Constraint_Policy.h
index 9c47faf19d1..e35e27c14ba 100644
--- a/TAO/tao/Buffering_Constraint_Policy.h
+++ b/TAO/tao/Buffering_Constraint_Policy.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_BUFFERING_CONSTRAINT_POLICY_H
-#include "ace/pre.h"
#define TAO_BUFFERING_CONSTRAINT_POLICY_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h
index cbc617ed079..b2218ed7108 100644
--- a/TAO/tao/CDR.h
+++ b/TAO/tao/CDR.h
@@ -45,8 +45,8 @@
// ============================================================================
#ifndef TAO_CDR_H
-#include "ace/pre.h"
#define TAO_CDR_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/CDR_Interpreter.h b/TAO/tao/CDR_Interpreter.h
index 2a28fd85bd9..373762915b1 100644
--- a/TAO/tao/CDR_Interpreter.h
+++ b/TAO/tao/CDR_Interpreter.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CDR_INTERPRETER_H
-#include "ace/pre.h"
#define TAO_CDR_INTERPRETER_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/CONV_FRAMEC.h b/TAO/tao/CONV_FRAMEC.h
index 16dce107030..10740fe2d83 100644
--- a/TAO/tao/CONV_FRAMEC.h
+++ b/TAO/tao/CONV_FRAMEC.h
@@ -18,8 +18,8 @@
// ================================================================
#ifndef TAO_CONV_FRAMEC_H
-#include "ace/pre.h"
#define TAO_CONV_FRAMEC_H
+#include "ace/pre.h"
#include "tao/CDR.h"
#include "tao/Sequence.h"
diff --git a/TAO/tao/CONV_FRAMES.h b/TAO/tao/CONV_FRAMES.h
index 6dc129b8fa3..443f6f86d89 100644
--- a/TAO/tao/CONV_FRAMES.h
+++ b/TAO/tao/CONV_FRAMES.h
@@ -17,8 +17,8 @@
// ================================================================
#ifndef TAO_CONV_FRAMES_H
-#include "ace/pre.h"
#define TAO_CONV_FRAMES_H
+#include "ace/pre.h"
#include "tao/CONV_FRAMEC.h"
diff --git a/TAO/tao/CONV_FRAMES_T.h b/TAO/tao/CONV_FRAMES_T.h
index 67727791023..0900021c353 100644
--- a/TAO/tao/CONV_FRAMES_T.h
+++ b/TAO/tao/CONV_FRAMES_T.h
@@ -18,8 +18,8 @@
// ================================================================
#ifndef TAO_CONV_FRAMES_T_H
-#include "ace/pre.h"
#define TAO_CONV_FRAMES_T_H
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/Client_Priority_Policy.h b/TAO/tao/Client_Priority_Policy.h
index 3d435e59ac8..859fb0a5392 100644
--- a/TAO/tao/Client_Priority_Policy.h
+++ b/TAO/tao/Client_Priority_Policy.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_CLIENT_PRIORITY_POLICY_H
-#include "ace/pre.h"
#define TAO_CLIENT_PRIORITY_POLICY_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/Client_Strategy_Factory.h b/TAO/tao/Client_Strategy_Factory.h
index 22b70b51c8a..a8fd536fe92 100644
--- a/TAO/tao/Client_Strategy_Factory.h
+++ b/TAO/tao/Client_Strategy_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_CLIENT_STRATEGY_FACTORY_H
-#include "ace/pre.h"
#define TAO_CLIENT_STRATEGY_FACTORY_H
+#include "ace/pre.h"
#include "ace/Service_Object.h"
diff --git a/TAO/tao/Connector_Registry.h b/TAO/tao/Connector_Registry.h
index 10edbb826a5..f2702e87e3f 100644
--- a/TAO/tao/Connector_Registry.h
+++ b/TAO/tao/Connector_Registry.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CONNECTOR_REGISTRY_H
-#include "ace/pre.h"
#define TAO_CONNECTOR_REGISTRY_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/Context.h b/TAO/tao/Context.h
index bcf6e5d6767..69c88367296 100644
--- a/TAO/tao/Context.h
+++ b/TAO/tao/Context.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_CONTEXT_H
-#include "ace/pre.h"
#define TAO_CONTEXT_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/CurrentC.h b/TAO/tao/CurrentC.h
index 97b0aaacac6..1045dea6352 100644
--- a/TAO/tao/CurrentC.h
+++ b/TAO/tao/CurrentC.h
@@ -24,8 +24,8 @@
// ============================================================================
#ifndef TAO_IDL_CURRENTC_H
-#include "ace/pre.h"
#define TAO_IDL_CURRENTC_H
+#include "ace/pre.h"
#ifndef TAO_EXPORT_MACRO
#define TAO_EXPORT_MACRO
diff --git a/TAO/tao/Direct_Priority_Mapping.h b/TAO/tao/Direct_Priority_Mapping.h
index 121c917d557..a1adf7b0780 100644
--- a/TAO/tao/Direct_Priority_Mapping.h
+++ b/TAO/tao/Direct_Priority_Mapping.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_DIRECT_PRIORITY_MAPPING_H
-#include "ace/pre.h"
#define TAO_DIRECT_PRIORITY_MAPPING_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DomainC.h b/TAO/tao/DomainC.h
index 8d9e9d9703a..37d03f81307 100644
--- a/TAO/tao/DomainC.h
+++ b/TAO/tao/DomainC.h
@@ -10,8 +10,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_DOMAINC_H
-#include "ace/pre.h"
#define TAO_IDL_DOMAINC_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/PolicyC.h"
diff --git a/TAO/tao/DomainS_T.h b/TAO/tao/DomainS_T.h
index a965bbc9a81..0e31e09140d 100644
--- a/TAO/tao/DomainS_T.h
+++ b/TAO/tao/DomainS_T.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_DOMAINS_T_H_
-#include "ace/pre.h"
#define _TAO_IDL_DOMAINS_T_H_
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/DynAnyC.h b/TAO/tao/DynAnyC.h
index eadb8c2bee5..acce204199f 100644
--- a/TAO/tao/DynAnyC.h
+++ b/TAO/tao/DynAnyC.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_IDL_CORBA_DYNANYC_H_
-#include "ace/pre.h"
#define TAO_IDL_CORBA_DYNANYC_H_
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynAny_i.h b/TAO/tao/DynAny_i.h
index 9d970dedb16..b531753d0c2 100644
--- a/TAO/tao/DynAny_i.h
+++ b/TAO/tao/DynAny_i.h
@@ -15,8 +15,8 @@
// =========================================================================
#ifndef TAO_DYNANY_I_H
-#include "ace/pre.h"
#define TAO_DYNANY_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynArray_i.h b/TAO/tao/DynArray_i.h
index 8887dfdc60d..749d2828402 100644
--- a/TAO/tao/DynArray_i.h
+++ b/TAO/tao/DynArray_i.h
@@ -15,8 +15,8 @@
// ===================================================================
#ifndef TAO_DYNARRAY_I_H
-#include "ace/pre.h"
#define TAO_DYNARRAY_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynEnum_i.h b/TAO/tao/DynEnum_i.h
index 0b1e61730eb..f2bcadfdb09 100644
--- a/TAO/tao/DynEnum_i.h
+++ b/TAO/tao/DynEnum_i.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_DYNENUM_I_H
-#include "ace/pre.h"
#define TAO_DYNENUM_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynSequence_i.h b/TAO/tao/DynSequence_i.h
index 0f8b8b477a0..c60c83e8d5a 100644
--- a/TAO/tao/DynSequence_i.h
+++ b/TAO/tao/DynSequence_i.h
@@ -15,8 +15,8 @@
// ===================================================================
#ifndef TAO_DYNSEQUENCE_I_H
-#include "ace/pre.h"
#define TAO_DYNSEQUENCE_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynStruct_i.h b/TAO/tao/DynStruct_i.h
index a0a28db908b..a133693affc 100644
--- a/TAO/tao/DynStruct_i.h
+++ b/TAO/tao/DynStruct_i.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_DYNSTRUCT_I_H
-#include "ace/pre.h"
#define TAO_DYNSTRUCT_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynUnion_i.h b/TAO/tao/DynUnion_i.h
index 545cd6cd53c..1be5f462a18 100644
--- a/TAO/tao/DynUnion_i.h
+++ b/TAO/tao/DynUnion_i.h
@@ -15,8 +15,8 @@
// ========================================================================
#ifndef TAO_DYNUNION_I_H
-#include "ace/pre.h"
#define TAO_DYNUNION_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/DynUnion_i_T.h b/TAO/tao/DynUnion_i_T.h
index 1d657b71d1d..1120028ed6f 100644
--- a/TAO/tao/DynUnion_i_T.h
+++ b/TAO/tao/DynUnion_i_T.h
@@ -14,8 +14,8 @@
// ====================================================================
#ifndef TAO_DYNUNION_I_T_H
-#include "ace/pre.h"
#define TAO_DYNUNION_I_T_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Environment.h b/TAO/tao/Environment.h
index 36908ba7c01..189e0a8d71d 100644
--- a/TAO/tao/Environment.h
+++ b/TAO/tao/Environment.h
@@ -22,8 +22,8 @@
// ============================================================================
#ifndef TAO_ENVIRONMENT_H
-#include "ace/pre.h"
#define TAO_ENVIRONMENT_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Exception.h b/TAO/tao/Exception.h
index 1fd27f81399..746e2ef2571 100644
--- a/TAO/tao/Exception.h
+++ b/TAO/tao/Exception.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_EXCEPTION_H
-#include "ace/pre.h"
#define TAO_EXCEPTION_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Forwarding_Servant.h b/TAO/tao/Forwarding_Servant.h
index b36d89deb41..fc796294652 100644
--- a/TAO/tao/Forwarding_Servant.h
+++ b/TAO/tao/Forwarding_Servant.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_FORWARDING_SERVANT_H
-#include "ace/pre.h"
#define TAO_FORWARDING_SERVANT_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/GIOPC.h b/TAO/tao/GIOPC.h
index 741b36933bc..b74f16f44f7 100644
--- a/TAO/tao/GIOPC.h
+++ b/TAO/tao/GIOPC.h
@@ -30,8 +30,8 @@
// should be no such name clashes.
#ifndef _TAO_IDL_GIOPC_H_
-#include "ace/pre.h"
#define _TAO_IDL_GIOPC_H_
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/GIOP_Message_Accept_State.h b/TAO/tao/GIOP_Message_Accept_State.h
index 14424b5d219..49d7d71ead3 100644
--- a/TAO/tao/GIOP_Message_Accept_State.h
+++ b/TAO/tao/GIOP_Message_Accept_State.h
@@ -15,8 +15,8 @@
// Balachandran Natarajan <bala@cs.wustl.edu>
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_ACCEPT_STATE_H
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_ACCEPT_STATE_H
+#include "ace/pre.h"
#include "tao/GIOP_Message_Headers.h"
diff --git a/TAO/tao/GIOP_Message_Acceptors.h b/TAO/tao/GIOP_Message_Acceptors.h
index 0058e53f7a7..fa8ca1451af 100644
--- a/TAO/tao/GIOP_Message_Acceptors.h
+++ b/TAO/tao/GIOP_Message_Acceptors.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_ACCEPTORS
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_ACCEPTORS
+#include "ace/pre.h"
#include "tao/GIOP_Message_Base.h"
#include "tao/GIOP_Message_Accept_State.h"
diff --git a/TAO/tao/GIOP_Message_Base.h b/TAO/tao/GIOP_Message_Base.h
index 43f8982164e..eebd18e875c 100644
--- a/TAO/tao/GIOP_Message_Base.h
+++ b/TAO/tao/GIOP_Message_Base.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_BASE_H
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_BASE_H
+#include "ace/pre.h"
#include "tao/GIOP_Message_State.h"
diff --git a/TAO/tao/GIOP_Message_Connectors.h b/TAO/tao/GIOP_Message_Connectors.h
index d805ae41517..def8d5adedd 100644
--- a/TAO/tao/GIOP_Message_Connectors.h
+++ b/TAO/tao/GIOP_Message_Connectors.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_CONNECTORS_H
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_CONNECTORS_H
+#include "ace/pre.h"
#include "tao/GIOP_Message_Base.h"
diff --git a/TAO/tao/GIOP_Message_Headers.h b/TAO/tao/GIOP_Message_Headers.h
index acf580f7313..cec48a857dd 100644
--- a/TAO/tao/GIOP_Message_Headers.h
+++ b/TAO/tao/GIOP_Message_Headers.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_HEADERS_H
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_HEADERS_H
+#include "ace/pre.h"
#include "tao/GIOPC.h"
class TAO_GIOP_Locate_Request_Header
diff --git a/TAO/tao/GIOP_Message_Lite.h b/TAO/tao/GIOP_Message_Lite.h
index fde2f896298..7c800615d72 100644
--- a/TAO/tao/GIOP_Message_Lite.h
+++ b/TAO/tao/GIOP_Message_Lite.h
@@ -17,8 +17,8 @@
//
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_LITE_H
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_LITE_H
+#include "ace/pre.h"
#include "tao/GIOP_Server_Request.h"
#include "tao/GIOP_Message_Headers.h"
diff --git a/TAO/tao/GIOP_Message_State.h b/TAO/tao/GIOP_Message_State.h
index c92a497c47e..cce2bbf6962 100644
--- a/TAO/tao/GIOP_Message_State.h
+++ b/TAO/tao/GIOP_Message_State.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_GIOP_MESSAGE_STATE_H
-#include "ace/pre.h"
#define TAO_GIOP_MESSAGE_STATE_H
+#include "ace/pre.h"
#include "tao/Pluggable_Messaging.h"
diff --git a/TAO/tao/GIOP_Server_Request.h b/TAO/tao/GIOP_Server_Request.h
index c0eb1e444bb..f3108887fe4 100644
--- a/TAO/tao/GIOP_Server_Request.h
+++ b/TAO/tao/GIOP_Server_Request.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_GIOP_SERVER_REQUEST_H
-#include "ace/pre.h"
#define TAO_GIOP_SERVER_REQUEST_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/GIOP_Utils.h b/TAO/tao/GIOP_Utils.h
index b923bf47d38..2079a3badb9 100644
--- a/TAO/tao/GIOP_Utils.h
+++ b/TAO/tao/GIOP_Utils.h
@@ -18,8 +18,8 @@
//
// ============================================================================
#ifndef TAO_GIOP_UTILS_H
-#include "ace/pre.h"
#define TAO_GIOP_UTILS_H
+#include "ace/pre.h"
#include "tao/Pluggable_Messaging.h"
#include "tao/Object.h"
diff --git a/TAO/tao/IIOP_Acceptor.h b/TAO/tao/IIOP_Acceptor.h
index 216cdf356ff..2e4d0867e19 100644
--- a/TAO/tao/IIOP_Acceptor.h
+++ b/TAO/tao/IIOP_Acceptor.h
@@ -19,8 +19,8 @@
//============================================================================
#ifndef TAO_IIOP_ACCEPTOR_H
-#include "ace/pre.h"
#define TAO_IIOP_ACCEPTOR_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/IIOP_Connect.h b/TAO/tao/IIOP_Connect.h
index 8f2c7207102..3d0509a8fb5 100644
--- a/TAO/tao/IIOP_Connect.h
+++ b/TAO/tao/IIOP_Connect.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_IIOP_CONNECT_H
-#include "ace/pre.h"
#define TAO_IIOP_CONNECT_H
+#include "ace/pre.h"
#include "ace/Reactor.h"
diff --git a/TAO/tao/IIOP_Connector.h b/TAO/tao/IIOP_Connector.h
index 9b22cf3dc73..0c39b49935b 100644
--- a/TAO/tao/IIOP_Connector.h
+++ b/TAO/tao/IIOP_Connector.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_IIOP_CONNECTOR_H
-#include "ace/pre.h"
#define TAO_IIOP_CONNECTOR_H
+#include "ace/pre.h"
#include "ace/Connector.h"
diff --git a/TAO/tao/IIOP_Factory.h b/TAO/tao/IIOP_Factory.h
index cf2c3e5f90a..76965e7ae0e 100644
--- a/TAO/tao/IIOP_Factory.h
+++ b/TAO/tao/IIOP_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_IIOP_FACTORY_H
-#include "ace/pre.h"
#define TAO_IIOP_FACTORY_H
+#include "ace/pre.h"
#include "tao/Protocol_Factory.h"
diff --git a/TAO/tao/IIOP_Lite_Factory.h b/TAO/tao/IIOP_Lite_Factory.h
index 94f9d80fd56..94f44816824 100644
--- a/TAO/tao/IIOP_Lite_Factory.h
+++ b/TAO/tao/IIOP_Lite_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_IIOP_LITE_FACTORY_H
-#include "ace/pre.h"
#define TAO_IIOP_LITE_FACTORY_H
+#include "ace/pre.h"
#include "tao/Protocol_Factory.h"
diff --git a/TAO/tao/IIOP_Profile.h b/TAO/tao/IIOP_Profile.h
index 7bef65f9641..a8a78e79c75 100644
--- a/TAO/tao/IIOP_Profile.h
+++ b/TAO/tao/IIOP_Profile.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_IIOP_PROFILE_H
-#include "ace/pre.h"
#define TAO_IIOP_PROFILE_H
+#include "ace/pre.h"
#include "tao/Profile.h"
#include "tao/GIOP_Message_State.h"
diff --git a/TAO/tao/IIOP_Transport.h b/TAO/tao/IIOP_Transport.h
index 89d6f1ba39f..02d0d161eb1 100644
--- a/TAO/tao/IIOP_Transport.h
+++ b/TAO/tao/IIOP_Transport.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_IIOP_TRANSPORT_H
-#include "ace/pre.h"
#define TAO_IIOP_TRANSPORT_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/IOPC.h b/TAO/tao/IOPC.h
index f2a912ce5be..f495f72adb5 100644
--- a/TAO/tao/IOPC.h
+++ b/TAO/tao/IOPC.h
@@ -20,8 +20,8 @@
// ================================================================
#ifndef TAO_IOPC_H
-#include "ace/pre.h"
#define TAO_IOPC_H
+#include "ace/pre.h"
#include "tao/CDR.h"
#include "tao/Sequence.h"
diff --git a/TAO/tao/IOPS.h b/TAO/tao/IOPS.h
index 9e08e920d25..6bf00258f85 100644
--- a/TAO/tao/IOPS.h
+++ b/TAO/tao/IOPS.h
@@ -17,8 +17,8 @@
// ================================================================
#ifndef TAO_IOPS_H
-#include "ace/pre.h"
#define TAO_IOPS_H
+#include "ace/pre.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/IOPS_T.h b/TAO/tao/IOPS_T.h
index 32028cdff59..2ed0bc8cbef 100644
--- a/TAO/tao/IOPS_T.h
+++ b/TAO/tao/IOPS_T.h
@@ -18,8 +18,8 @@
// ================================================================
#ifndef TAO_IOPS_T_H
-#include "ace/pre.h"
#define TAO_IOPS_T_H
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/IOP_Defns.h b/TAO/tao/IOP_Defns.h
index f9fa107ce2e..73aa555c9dd 100644
--- a/TAO/tao/IOP_Defns.h
+++ b/TAO/tao/IOP_Defns.h
@@ -16,8 +16,8 @@
// Taken from the old GIOP.h file. Not sure of the author
// ============================================================================
#ifndef _TAO_IOP_DEFN_H_
-#include "ace/pre.h"
#define _TAO_IOP_DEFN_H_
+#include "ace/pre.h"
// These were all in the GIOP.h file. They shouldn't be combined with
// GIOP as they are not specific to GIOP. They are part of the CORBA
diff --git a/TAO/tao/IORC.h b/TAO/tao/IORC.h
index 6f030109630..e30401ea91e 100644
--- a/TAO/tao/IORC.h
+++ b/TAO/tao/IORC.h
@@ -10,8 +10,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_IORC_H_
-#include "ace/pre.h"
#define _TAO_IDL_IORC_H_
+#include "ace/pre.h"
#include "ace/OS.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/IORManipulation.h b/TAO/tao/IORManipulation.h
index 968957ba28a..9362a122730 100644
--- a/TAO/tao/IORManipulation.h
+++ b/TAO/tao/IORManipulation.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_IOR_MANIPULATION_H
-#include "ace/pre.h"
#define TAO_IOR_MANIPULATION_H
+#include "ace/pre.h"
#include "tao/Object.h"
diff --git a/TAO/tao/IORS.h b/TAO/tao/IORS.h
index d08d69492b9..3fcdaa5a65c 100644
--- a/TAO/tao/IORS.h
+++ b/TAO/tao/IORS.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_IORS_H_
-#include "ace/pre.h"
#define _TAO_IDL_IORS_H_
+#include "ace/pre.h"
#include "tao/IORC.h"
#include "tao/Servant_Base.h"
diff --git a/TAO/tao/IOR_LookupTable.h b/TAO/tao/IOR_LookupTable.h
index a137627f8d0..b53fd53e50f 100644
--- a/TAO/tao/IOR_LookupTable.h
+++ b/TAO/tao/IOR_LookupTable.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_IOR_LOOKUPTABLE_H
-#include "ace/pre.h"
#define TAO_IOR_LOOKUPTABLE_H
+#include "ace/pre.h"
#include "ace/Synch_T.h"
#include "ace/Hash_Map_Manager.h"
diff --git a/TAO/tao/ImplRepoC.h b/TAO/tao/ImplRepoC.h
index 477de802547..5a189a7a576 100644
--- a/TAO/tao/ImplRepoC.h
+++ b/TAO/tao/ImplRepoC.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_IMPLREPOC_H_
-#include "ace/pre.h"
#define _TAO_IDL_IMPLREPOC_H_
+#include "ace/pre.h"
#include "tao/corba.h"
diff --git a/TAO/tao/ImplRepoS.h b/TAO/tao/ImplRepoS.h
index c498ab50d65..47987c3f991 100644
--- a/TAO/tao/ImplRepoS.h
+++ b/TAO/tao/ImplRepoS.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_IMPLREPOS_H_
-#include "ace/pre.h"
#define _TAO_IDL_IMPLREPOS_H_
+#include "ace/pre.h"
#include "ImplRepoC.h"
diff --git a/TAO/tao/ImplRepoS_T.h b/TAO/tao/ImplRepoS_T.h
index c52285cd9be..37cf44e03f2 100644
--- a/TAO/tao/ImplRepoS_T.h
+++ b/TAO/tao/ImplRepoS_T.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_IMPLREPOS_T_H_
-#include "ace/pre.h"
#define _TAO_IDL_IMPLREPOS_T_H_
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/InconsistentTypeCodeC.h b/TAO/tao/InconsistentTypeCodeC.h
index 2e0e28a290d..2c206a025c9 100644
--- a/TAO/tao/InconsistentTypeCodeC.h
+++ b/TAO/tao/InconsistentTypeCodeC.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_IDL_INCONSISTENTTYPECODEC_H
-#include "ace/pre.h"
#define TAO_IDL_INCONSISTENTTYPECODEC_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/Interceptor.h b/TAO/tao/Interceptor.h
index 322fe7d00ed..bdf4c615be3 100644
--- a/TAO/tao/Interceptor.h
+++ b/TAO/tao/Interceptor.h
@@ -27,8 +27,8 @@
// ============================================================================
#ifndef TAO_INTERCEPTOR_H
-#include "ace/pre.h"
#define TAO_INTERCEPTOR_H
+#include "ace/pre.h"
#include "tao/InterceptorS.h"
diff --git a/TAO/tao/InterceptorC.h b/TAO/tao/InterceptorC.h
index d4596b5e025..c844183ec1e 100644
--- a/TAO/tao/InterceptorC.h
+++ b/TAO/tao/InterceptorC.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_INTERCEPTORC_H_
-#include "ace/pre.h"
#define _TAO_IDL_INTERCEPTORC_H_
+#include "ace/pre.h"
#include "tao/orbconf.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/InterceptorS.h b/TAO/tao/InterceptorS.h
index f543c01f3ee..9726ef46bda 100644
--- a/TAO/tao/InterceptorS.h
+++ b/TAO/tao/InterceptorS.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_INTERCEPTORS_H_
-#include "ace/pre.h"
#define _TAO_IDL_INTERCEPTORS_H_
+#include "ace/pre.h"
#include "tao/InterceptorC.h"
#include "tao/Servant_Base.h"
diff --git a/TAO/tao/InterfaceC.h b/TAO/tao/InterfaceC.h
index 14e3db2ebfe..3807acee33f 100644
--- a/TAO/tao/InterfaceC.h
+++ b/TAO/tao/InterfaceC.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_INTERFACEC_H
-#include "ace/pre.h"
#define TAO_IDL_INTERFACEC_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/Object.h"
diff --git a/TAO/tao/InterfaceS.h b/TAO/tao/InterfaceS.h
index 75e90e891e9..9acdaff3d7a 100644
--- a/TAO/tao/InterfaceS.h
+++ b/TAO/tao/InterfaceS.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_INTERFACES_H
-#include "ace/pre.h"
#define TAO_IDL_INTERFACES_H
+#include "ace/pre.h"
#include "tao/POA_CORBA.h"
#include "tao/Operation_Table.h"
diff --git a/TAO/tao/Invocation.h b/TAO/tao/Invocation.h
index 2772308c67d..0985c48d4c8 100644
--- a/TAO/tao/Invocation.h
+++ b/TAO/tao/Invocation.h
@@ -27,8 +27,8 @@
// ============================================================================
#ifndef TAO_INVOCATION_H
-#include "ace/pre.h"
#define TAO_INVOCATION_H
+#include "ace/pre.h"
#include "tao/CDR.h"
diff --git a/TAO/tao/Key_Adapters.h b/TAO/tao/Key_Adapters.h
index 164c449fe60..5492204259a 100644
--- a/TAO/tao/Key_Adapters.h
+++ b/TAO/tao/Key_Adapters.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_KEY_ADAPTERS_H
-#include "ace/pre.h"
#define TAO_KEY_ADAPTERS_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "ace/Map.h"
diff --git a/TAO/tao/Leader_Follower.h b/TAO/tao/Leader_Follower.h
index b4565c76eab..89d310e97bb 100644
--- a/TAO/tao/Leader_Follower.h
+++ b/TAO/tao/Leader_Follower.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_LEADER_FOLLOWER_H
-#include "ace/pre.h"
#define TAO_LEADER_FOLLOWER_H
+#include "ace/pre.h"
#include "tao/ORB_Core.h"
diff --git a/TAO/tao/Linear_Priority_Mapping.h b/TAO/tao/Linear_Priority_Mapping.h
index 24454c11933..15c422a6404 100644
--- a/TAO/tao/Linear_Priority_Mapping.h
+++ b/TAO/tao/Linear_Priority_Mapping.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_LINEAR_PRIORITY_MAPPING_H
-#include "ace/pre.h"
#define TAO_LINEAR_PRIORITY_MAPPING_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/MProfile.h b/TAO/tao/MProfile.h
index 20d53d3adff..209ea9d223a 100644
--- a/TAO/tao/MProfile.h
+++ b/TAO/tao/MProfile.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_MPROFILE_H
-#include "ace/pre.h"
#define TAO_MPROFILE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Managed_Types.h b/TAO/tao/Managed_Types.h
index 0c9f55aa3ce..06eac372d52 100644
--- a/TAO/tao/Managed_Types.h
+++ b/TAO/tao/Managed_Types.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_MANAGED_TYPES_H
-#include "ace/pre.h"
#define TAO_MANAGED_TYPES_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Marshal.h b/TAO/tao/Marshal.h
index 9af48324893..5c32b524b8f 100644
--- a/TAO/tao/Marshal.h
+++ b/TAO/tao/Marshal.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_MARSHAL_H
-#include "ace/pre.h"
#define TAO_MARSHAL_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/MessagingC.h b/TAO/tao/MessagingC.h
index 85511ce222f..4329b6291da 100644
--- a/TAO/tao/MessagingC.h
+++ b/TAO/tao/MessagingC.h
@@ -19,8 +19,8 @@
// ================================================================
#ifndef TAO_IDL_MESSAGINGC_H
-#include "ace/pre.h"
#define TAO_IDL_MESSAGINGC_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/MessagingS.h b/TAO/tao/MessagingS.h
index 792301072c7..9e51904c8c8 100644
--- a/TAO/tao/MessagingS.h
+++ b/TAO/tao/MessagingS.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_MESSAGINGS_H
-#include "ace/pre.h"
#define TAO_IDL_MESSAGINGS_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/MessagingS_T.h b/TAO/tao/MessagingS_T.h
index efb30a518a6..e2b2d5594bf 100644
--- a/TAO/tao/MessagingS_T.h
+++ b/TAO/tao/MessagingS_T.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_MESSAGINGS_T_H_
-#include "ace/pre.h"
#define _TAO_IDL_MESSAGINGS_T_H_
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/Messaging_Policy_i.h b/TAO/tao/Messaging_Policy_i.h
index e584170a00e..bb964cf5392 100644
--- a/TAO/tao/Messaging_Policy_i.h
+++ b/TAO/tao/Messaging_Policy_i.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_MESSAGING_POLICY_I_H
-#include "ace/pre.h"
#define TAO_MESSAGING_POLICY_I_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/NVList.h b/TAO/tao/NVList.h
index e1cea808e01..44d013ddb5d 100644
--- a/TAO/tao/NVList.h
+++ b/TAO/tao/NVList.h
@@ -17,8 +17,8 @@
// ============================================================================
#ifndef TAO_NVLIST_H
-#include "ace/pre.h"
#define TAO_NVLIST_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/ORB.h b/TAO/tao/ORB.h
index 0a950c3ac03..c20b945d815 100644
--- a/TAO/tao/ORB.h
+++ b/TAO/tao/ORB.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_ORB_H
-#include "ace/pre.h"
#define TAO_ORB_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h
index b364e038e2b..b332c2dab26 100644
--- a/TAO/tao/ORB_Core.h
+++ b/TAO/tao/ORB_Core.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_ORB_CORE_H
-#include "ace/pre.h"
#define TAO_ORB_CORE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h
index e7939093ef2..81a899545eb 100644
--- a/TAO/tao/Object.h
+++ b/TAO/tao/Object.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_CORBA_OBJECT_H
-#include "ace/pre.h"
#define TAO_CORBA_OBJECT_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/ObjectIDList.h b/TAO/tao/ObjectIDList.h
index 3ccd57a2776..164e6597093 100644
--- a/TAO/tao/ObjectIDList.h
+++ b/TAO/tao/ObjectIDList.h
@@ -11,8 +11,8 @@
//
#ifndef OBJECTIDLIST_H_
-#include "ace/pre.h"
#define OBJECTIDLIST_H_
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/Sequence.h"
diff --git a/TAO/tao/Object_Adapter.h b/TAO/tao/Object_Adapter.h
index 7dc333631da..174e5b86eeb 100644
--- a/TAO/tao/Object_Adapter.h
+++ b/TAO/tao/Object_Adapter.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_OBJECT_ADAPTER_H
-#include "ace/pre.h"
#define TAO_OBJECT_ADAPTER_H
+#include "ace/pre.h"
#include "tao/Key_Adapters.h"
#include "tao/Server_Strategy_Factory.h"
diff --git a/TAO/tao/Object_KeyC.h b/TAO/tao/Object_KeyC.h
index 2070672cacd..49948171bd0 100644
--- a/TAO/tao/Object_KeyC.h
+++ b/TAO/tao/Object_KeyC.h
@@ -11,8 +11,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_OBJECT_KEYC_H
-#include "ace/pre.h"
#define TAO_IDL_OBJECT_KEYC_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Operation_Table.h b/TAO/tao/Operation_Table.h
index 6e4b8e08491..0c5eff7e321 100644
--- a/TAO/tao/Operation_Table.h
+++ b/TAO/tao/Operation_Table.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_OPTABLE_H
-#include "ace/pre.h"
#define TAO_OPTABLE_H
+#include "ace/pre.h"
#include "ace/Hash_Map_Manager.h"
diff --git a/TAO/tao/POA.h b/TAO/tao/POA.h
index f8460d36db5..e07f294c736 100644
--- a/TAO/tao/POA.h
+++ b/TAO/tao/POA.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_POA_H
-#include "ace/pre.h"
#define TAO_POA_H
+#include "ace/pre.h"
// String
#include "ace/SString.h"
diff --git a/TAO/tao/POAC.h b/TAO/tao/POAC.h
index 9832553a052..27b0f508e6d 100644
--- a/TAO/tao/POAC.h
+++ b/TAO/tao/POAC.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_IDL_POAC_H
-#include "ace/pre.h"
#define TAO_IDL_POAC_H
+#include "ace/pre.h"
#include "tao/PolicyC.h"
diff --git a/TAO/tao/POAManager.h b/TAO/tao/POAManager.h
index 42260fe5d02..ee6345b75be 100644
--- a/TAO/tao/POAManager.h
+++ b/TAO/tao/POAManager.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_POAMANAGER_H
-#include "ace/pre.h"
#define TAO_POAMANAGER_H
+#include "ace/pre.h"
#include "tao/POAS.h"
diff --git a/TAO/tao/POAS.h b/TAO/tao/POAS.h
index 83a539791ba..dd29109fc61 100644
--- a/TAO/tao/POAS.h
+++ b/TAO/tao/POAS.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_IDL_POAS_H
-#include "ace/pre.h"
#define TAO_IDL_POAS_H
+#include "ace/pre.h"
#include "tao/POAC.h"
diff --git a/TAO/tao/POA_CORBA.h b/TAO/tao/POA_CORBA.h
index 9eeb379d0aa..e2f25b58d6b 100644
--- a/TAO/tao/POA_CORBA.h
+++ b/TAO/tao/POA_CORBA.h
@@ -28,8 +28,8 @@
// ============================================================================
#ifndef TAO_IDL_POA_CORBA_H
-#include "ace/pre.h"
#define TAO_IDL_POA_CORBA_H
+#include "ace/pre.h"
#include "tao/CurrentC.h"
diff --git a/TAO/tao/Pluggable.h b/TAO/tao/Pluggable.h
index 3cd36a00851..00374ef5c0f 100644
--- a/TAO/tao/Pluggable.h
+++ b/TAO/tao/Pluggable.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_PLUGGABLE_H
-#include "ace/pre.h"
#define TAO_PLUGGABLE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Pluggable_Messaging.h b/TAO/tao/Pluggable_Messaging.h
index 9695bb06185..727b3f89756 100644
--- a/TAO/tao/Pluggable_Messaging.h
+++ b/TAO/tao/Pluggable_Messaging.h
@@ -18,8 +18,8 @@
// ============================================================================
//
#ifndef TAO_PLUGGABLE_MESSAGING_H
-#include "ace/pre.h"
#define TAO_PLUGGABLE_MESSAGING_H
+#include "ace/pre.h"
#include "tao/Pluggable_Messaging_Utils.h"
diff --git a/TAO/tao/Pluggable_Messaging_Utils.h b/TAO/tao/Pluggable_Messaging_Utils.h
index 1cbc547e868..219bdf25f94 100644
--- a/TAO/tao/Pluggable_Messaging_Utils.h
+++ b/TAO/tao/Pluggable_Messaging_Utils.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_PLUGGABLE_MESSAGING_UTILS_H
-#include "ace/pre.h"
#define TAO_PLUGGABLE_MESSAGING_UTILS_H
+#include "ace/pre.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h
index 1f58a9d43ef..1d7d3f8bc2f 100644
--- a/TAO/tao/PolicyC.h
+++ b/TAO/tao/PolicyC.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_POLICYC_H
-#include "ace/pre.h"
#define TAO_IDL_POLICYC_H
+#include "ace/pre.h"
#include "tao/CurrentC.h"
diff --git a/TAO/tao/Policy_Manager.h b/TAO/tao/Policy_Manager.h
index 5e3d1a0d399..eb3d63d2c2d 100644
--- a/TAO/tao/Policy_Manager.h
+++ b/TAO/tao/Policy_Manager.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_POLICY_MANAGER_H
-#include "ace/pre.h"
#define TAO_POLICY_MANAGER_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/PollableC.h b/TAO/tao/PollableC.h
index 313c7a23d04..9596a23e548 100644
--- a/TAO/tao/PollableC.h
+++ b/TAO/tao/PollableC.h
@@ -18,8 +18,8 @@
// ================================================================
#ifndef TAO_IDL_POLLABLEC_H
-#include "ace/pre.h"
#define TAO_IDL_POLLABLEC_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/PollableS.h b/TAO/tao/PollableS.h
index 1c1cdfff95e..eb29e548f84 100644
--- a/TAO/tao/PollableS.h
+++ b/TAO/tao/PollableS.h
@@ -18,8 +18,8 @@
// ================================================================
#ifndef TAO_IDL_POLLABLES_H
-#include "ace/pre.h"
#define TAO_IDL_POLLABLES_H
+#include "ace/pre.h"
#include "tao/PollableC.h"
diff --git a/TAO/tao/PollableS_T.h b/TAO/tao/PollableS_T.h
index c4366f7d1d1..5f13cc5168b 100644
--- a/TAO/tao/PollableS_T.h
+++ b/TAO/tao/PollableS_T.h
@@ -9,8 +9,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_POLLABLES_T_H_
-#include "ace/pre.h"
#define _TAO_IDL_POLLABLES_T_H_
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/Pool_Per_Endpoint.h b/TAO/tao/Pool_Per_Endpoint.h
index e3ff1be6bc5..ea8265c3bde 100644
--- a/TAO/tao/Pool_Per_Endpoint.h
+++ b/TAO/tao/Pool_Per_Endpoint.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_POOL_PER_ENDPOINT_H
-#include "ace/pre.h"
#define TAO_POOL_PER_ENDPOINT_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/ORB.h"
diff --git a/TAO/tao/Principal.h b/TAO/tao/Principal.h
index eaa95afe415..217549bdadd 100644
--- a/TAO/tao/Principal.h
+++ b/TAO/tao/Principal.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_PRINCIPAL_H
-#include "ace/pre.h"
#define TAO_PRINCIPAL_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Priority_Mapping.h b/TAO/tao/Priority_Mapping.h
index 0e7dc32ff4f..07ea8979ed5 100644
--- a/TAO/tao/Priority_Mapping.h
+++ b/TAO/tao/Priority_Mapping.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_PRIORITY_MAPPING_H
-#include "ace/pre.h"
#define TAO_PRIORITY_MAPPING_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index ec8eecd3681..6440c6bac74 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_PROFILE_H
-#include "ace/pre.h"
#define TAO_PROFILE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Protocol_Factory.h b/TAO/tao/Protocol_Factory.h
index 2ba11179675..35a81275d74 100644
--- a/TAO/tao/Protocol_Factory.h
+++ b/TAO/tao/Protocol_Factory.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_PROTOCOL_FACTORY_H
-#include "ace/pre.h"
#define TAO_PROTOCOL_FACTORY_H
+#include "ace/pre.h"
#include "ace/Service_Object.h"
#include "ace/Strategies_T.h"
diff --git a/TAO/tao/RT_Current.h b/TAO/tao/RT_Current.h
index 6d2ed8941d7..8790b05ca20 100644
--- a/TAO/tao/RT_Current.h
+++ b/TAO/tao/RT_Current.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_RT_CURRENT_H
-#include "ace/pre.h"
#define TAO_RT_CURRENT_H
+#include "ace/pre.h"
#include "tao/rtcorbafwd.h"
diff --git a/TAO/tao/Reactor_Per_Priority.h b/TAO/tao/Reactor_Per_Priority.h
index 314568e90b7..6e5e839f10d 100644
--- a/TAO/tao/Reactor_Per_Priority.h
+++ b/TAO/tao/Reactor_Per_Priority.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_REACTOR_PER_PRIORITY_H
-#include "ace/pre.h"
#define TAO_REACTOR_PER_PRIORITY_H
+#include "ace/pre.h"
#include "tao/Reactor_Registry.h"
diff --git a/TAO/tao/Reactor_Registry.h b/TAO/tao/Reactor_Registry.h
index 2b987b280df..f9e7e1a7e50 100644
--- a/TAO/tao/Reactor_Registry.h
+++ b/TAO/tao/Reactor_Registry.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_REACTOR_REGISTRY_H
-#include "ace/pre.h"
#define TAO_REACTOR_REGISTRY_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Reply_Dispatcher.h b/TAO/tao/Reply_Dispatcher.h
index 625d6b29479..c65a90df704 100644
--- a/TAO/tao/Reply_Dispatcher.h
+++ b/TAO/tao/Reply_Dispatcher.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_REPLY_DISPATCHER_H
-#include "ace/pre.h"
#define TAO_REPLY_DISPATCHER_H
+#include "ace/pre.h"
#include "tao/Request.h"
diff --git a/TAO/tao/Request.h b/TAO/tao/Request.h
index f0eb4dead0c..ba2017dac96 100644
--- a/TAO/tao/Request.h
+++ b/TAO/tao/Request.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_REQUEST_H
-#include "ace/pre.h"
#define TAO_REQUEST_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/Resource_Factory.h b/TAO/tao/Resource_Factory.h
index d19c8234b3f..b7e0c9577ed 100644
--- a/TAO/tao/Resource_Factory.h
+++ b/TAO/tao/Resource_Factory.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_RESOURCE_FACTORY_H
-#include "ace/pre.h"
#define TAO_RESOURCE_FACTORY_H
+#include "ace/pre.h"
#include "ace/Service_Object.h"
diff --git a/TAO/tao/SHMIOP_Acceptor.h b/TAO/tao/SHMIOP_Acceptor.h
index 2961df58212..64edfca3faf 100644
--- a/TAO/tao/SHMIOP_Acceptor.h
+++ b/TAO/tao/SHMIOP_Acceptor.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_SHMIOP_ACCEPTOR_H
-#include "ace/pre.h"
#define TAO_SHMIOP_ACCEPTOR_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/SHMIOP_Connect.h b/TAO/tao/SHMIOP_Connect.h
index c23c7b31ec3..1997a730bcd 100644
--- a/TAO/tao/SHMIOP_Connect.h
+++ b/TAO/tao/SHMIOP_Connect.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_SHMIOP_CONNECT_H
-#include "ace/pre.h"
#define TAO_SHMIOP_CONNECT_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/SHMIOP_Connector.h b/TAO/tao/SHMIOP_Connector.h
index 12699b05f47..a990970d513 100644
--- a/TAO/tao/SHMIOP_Connector.h
+++ b/TAO/tao/SHMIOP_Connector.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_SHMIOP_CONNECTOR_H
-#include "ace/pre.h"
#define TAO_SHMIOP_CONNECTOR_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/SHMIOP_Factory.h b/TAO/tao/SHMIOP_Factory.h
index 799a05a2cb9..22522bb5768 100644
--- a/TAO/tao/SHMIOP_Factory.h
+++ b/TAO/tao/SHMIOP_Factory.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_SHMIOP_FACTORY_H
-#include "ace/pre.h"
#define TAO_SHMIOP_FACTORY_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/SHMIOP_Profile.h b/TAO/tao/SHMIOP_Profile.h
index 8c5ea70bafa..f026e2e5599 100644
--- a/TAO/tao/SHMIOP_Profile.h
+++ b/TAO/tao/SHMIOP_Profile.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_SHMIOP_PROFILE_H
-#include "ace/pre.h"
#define TAO_SHMIOP_PROFILE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/SHMIOP_Transport.h b/TAO/tao/SHMIOP_Transport.h
index 662e086137f..554a309061a 100644
--- a/TAO/tao/SHMIOP_Transport.h
+++ b/TAO/tao/SHMIOP_Transport.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_SHMIOP_TRANSPORT_H
-#include "ace/pre.h"
#define TAO_SHMIOP_TRANSPORT_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Sequence.h b/TAO/tao/Sequence.h
index 03018ece9b4..df9364cd24d 100644
--- a/TAO/tao/Sequence.h
+++ b/TAO/tao/Sequence.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_SEQUENCE_H
-#include "ace/pre.h"
#define TAO_SEQUENCE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Sequence_T.h b/TAO/tao/Sequence_T.h
index e73df7a0dd8..efaaa19aa60 100644
--- a/TAO/tao/Sequence_T.h
+++ b/TAO/tao/Sequence_T.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_SEQUENCE_T_H
-#include "ace/pre.h"
#define TAO_SEQUENCE_T_H
+#include "ace/pre.h"
#include "tao/Sequence.h"
diff --git a/TAO/tao/Servant_Base.h b/TAO/tao/Servant_Base.h
index 8429915a139..c386fdf472c 100644
--- a/TAO/tao/Servant_Base.h
+++ b/TAO/tao/Servant_Base.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_SERVANT_BASE_H
-#include "ace/pre.h"
#define TAO_SERVANT_BASE_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Server_Request.h b/TAO/tao/Server_Request.h
index 2e415965ddc..0db3d1267f1 100644
--- a/TAO/tao/Server_Request.h
+++ b/TAO/tao/Server_Request.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_SERVER_REQUEST_H
-#include "ace/pre.h"
#define TAO_SERVER_REQUEST_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/Server_Strategy_Factory.h b/TAO/tao/Server_Strategy_Factory.h
index b59cfcece2a..5a84536432b 100644
--- a/TAO/tao/Server_Strategy_Factory.h
+++ b/TAO/tao/Server_Strategy_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_SERVER_STRATEGY_FACTORY_H
-#include "ace/pre.h"
#define TAO_SERVER_STRATEGY_FACTORY_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Services.h b/TAO/tao/Services.h
index e6807ceea89..d43e74b080f 100644
--- a/TAO/tao/Services.h
+++ b/TAO/tao/Services.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_SERVICES_H
-#include "ace/pre.h"
#define TAO_SERVICES_H
+#include "ace/pre.h"
#include "tao/Sequence.h"
diff --git a/TAO/tao/Single_Reactor.h b/TAO/tao/Single_Reactor.h
index a32b94a7531..f41ff3432c2 100644
--- a/TAO/tao/Single_Reactor.h
+++ b/TAO/tao/Single_Reactor.h
@@ -14,8 +14,8 @@
// ============================================================================
#ifndef TAO_SINGLE_REACTOR_H
-#include "ace/pre.h"
#define TAO_SINGLE_REACTOR_H
+#include "ace/pre.h"
#include "tao/Reactor_Registry.h"
diff --git a/TAO/tao/Stub.h b/TAO/tao/Stub.h
index d38bab61d9d..5c6ecc73758 100644
--- a/TAO/tao/Stub.h
+++ b/TAO/tao/Stub.h
@@ -29,8 +29,8 @@
// ============================================================================
#ifndef TAO_STUB_H
-#include "ace/pre.h"
#define TAO_STUB_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/Sync_Strategies.h b/TAO/tao/Sync_Strategies.h
index b7a34a3f46b..d752bfe77b0 100644
--- a/TAO/tao/Sync_Strategies.h
+++ b/TAO/tao/Sync_Strategies.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_SYNC_STRATEGIES_H
-#include "ace/pre.h"
#define TAO_SYNC_STRATEGIES_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/TAO.h b/TAO/tao/TAO.h
index 98e2880a7ba..e0bcb693440 100644
--- a/TAO/tao/TAO.h
+++ b/TAO/tao/TAO.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_H
-#include "ace/pre.h"
#define TAO_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h
index 09c2bd5dff3..a14b0a96abc 100644
--- a/TAO/tao/TAOC.h
+++ b/TAO/tao/TAOC.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_TAOC_H_
-#include "ace/pre.h"
#define _TAO_IDL_TAOC_H_
+#include "ace/pre.h"
#include "tao/orbconf.h"
#include "tao/varout.h"
diff --git a/TAO/tao/TAOS.h b/TAO/tao/TAOS.h
index 33ff33037bb..e90355df6ec 100644
--- a/TAO/tao/TAOS.h
+++ b/TAO/tao/TAOS.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL_TAOS_H_
-#include "ace/pre.h"
#define _TAO_IDL_TAOS_H_
+#include "ace/pre.h"
#include "tao/TAOC.h"
diff --git a/TAO/tao/TAOS_T.h b/TAO/tao/TAOS_T.h
index d012d577dc1..ab7cabb42cf 100644
--- a/TAO/tao/TAOS_T.h
+++ b/TAO/tao/TAOS_T.h
@@ -8,8 +8,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef _TAO_IDL__PROJECT_DOC_MARINA_ACE_WRAPPERS_TAO_TAO_TAOS_T_H_
-#include "ace/pre.h"
#define _TAO_IDL__PROJECT_DOC_MARINA_ACE_WRAPPERS_TAO_TAO_TAOS_T_H_
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/TAO_Internal.h b/TAO/tao/TAO_Internal.h
index 113325db822..4cfba39fefd 100644
--- a/TAO/tao/TAO_Internal.h
+++ b/TAO/tao/TAO_Internal.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_INTERNAL_H
-#include "ace/pre.h"
#define TAO_INTERNAL_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/Tagged_Components.h b/TAO/tao/Tagged_Components.h
index 1c2868775b1..0b1c589bd43 100644
--- a/TAO/tao/Tagged_Components.h
+++ b/TAO/tao/Tagged_Components.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_TAGGED_COMPONENTS_H
-#include "ace/pre.h"
#define TAO_TAGGED_COMPONENTS_H
+#include "ace/pre.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/TimeBaseC.h b/TAO/tao/TimeBaseC.h
index d88c8a4f723..15bea6f943d 100644
--- a/TAO/tao/TimeBaseC.h
+++ b/TAO/tao/TimeBaseC.h
@@ -19,8 +19,8 @@
// ================================================================
#ifndef TAO_IDL_TIMEBASEC_H
-#include "ace/pre.h"
#define TAO_IDL_TIMEBASEC_H
+#include "ace/pre.h"
#include "tao/Any.h"
#include "tao/CDR.h"
diff --git a/TAO/tao/TimeBaseS.h b/TAO/tao/TimeBaseS.h
index db4f0d88afd..806cd719de4 100644
--- a/TAO/tao/TimeBaseS.h
+++ b/TAO/tao/TimeBaseS.h
@@ -18,8 +18,8 @@
// ================================================================
#ifndef TAO_IDL_TIMEBASES_H
-#include "ace/pre.h"
#define TAO_IDL_TIMEBASES_H
+#include "ace/pre.h"
#include "tao/TimeBaseC.h"
diff --git a/TAO/tao/TimeBaseS_T.h b/TAO/tao/TimeBaseS_T.h
index 2e805053484..a213511445f 100644
--- a/TAO/tao/TimeBaseS_T.h
+++ b/TAO/tao/TimeBaseS_T.h
@@ -16,8 +16,8 @@
// ================================================================
#ifndef TAO_IDL_TIMEBASES_T_H
-#include "ace/pre.h"
#define TAO_IDL_TIMEBASES_T_H
+#include "ace/pre.h"
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
diff --git a/TAO/tao/Timeprobe.h b/TAO/tao/Timeprobe.h
index 9be05096786..15bbc94fef9 100644
--- a/TAO/tao/Timeprobe.h
+++ b/TAO/tao/Timeprobe.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef TAO_TIMEPROBE_H
-#include "ace/pre.h"
#define TAO_TIMEPROBE_H
+#include "ace/pre.h"
#include "ace/inc_user_config.h"
diff --git a/TAO/tao/Transport_Mux_Strategy.h b/TAO/tao/Transport_Mux_Strategy.h
index 059c6f31f20..c3a9b1ac35b 100644
--- a/TAO/tao/Transport_Mux_Strategy.h
+++ b/TAO/tao/Transport_Mux_Strategy.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_TRANSPORT_MUX_STRATEGY_H
-#include "ace/pre.h"
#define TAO_TRANSPORT_MUX_STRATEGY_H
+#include "ace/pre.h"
// BALA should not be here But for the time being
#include "tao/GIOP_Message_State.h"
diff --git a/TAO/tao/Typecode.h b/TAO/tao/Typecode.h
index 4d6242c34ba..4c9cf8f897b 100644
--- a/TAO/tao/Typecode.h
+++ b/TAO/tao/Typecode.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_TYPECODE_H
-#include "ace/pre.h"
#define TAO_TYPECODE_H
+#include "ace/pre.h"
#include "ace/Synch.h"
diff --git a/TAO/tao/UIOP_Acceptor.h b/TAO/tao/UIOP_Acceptor.h
index b64f986ee70..dfde5cb6456 100644
--- a/TAO/tao/UIOP_Acceptor.h
+++ b/TAO/tao/UIOP_Acceptor.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_UIOP_ACCEPTOR_H
-#include "ace/pre.h"
#define TAO_UIOP_ACCEPTOR_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/UIOP_Connect.h b/TAO/tao/UIOP_Connect.h
index e9f6d797e99..fb29c3d5582 100644
--- a/TAO/tao/UIOP_Connect.h
+++ b/TAO/tao/UIOP_Connect.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_UIOP_CONNECT_H
-#include "ace/pre.h"
#define TAO_UIOP_CONNECT_H
+#include "ace/pre.h"
#include "tao/UIOP_Transport.h"
diff --git a/TAO/tao/UIOP_Connector.h b/TAO/tao/UIOP_Connector.h
index 987a6efc1e4..6f5d4048ecc 100644
--- a/TAO/tao/UIOP_Connector.h
+++ b/TAO/tao/UIOP_Connector.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_UIOP_CONNECTOR_H
-#include "ace/pre.h"
#define TAO_UIOP_CONNECTOR_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/UIOP_Factory.h b/TAO/tao/UIOP_Factory.h
index 3c0a4d759dc..acf91263da2 100644
--- a/TAO/tao/UIOP_Factory.h
+++ b/TAO/tao/UIOP_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_UIOP_FACTORY_H
-#include "ace/pre.h"
#define TAO_UIOP_FACTORY_H
+#include "ace/pre.h"
#include "tao/Protocol_Factory.h"
diff --git a/TAO/tao/UIOP_Lite_Factory.h b/TAO/tao/UIOP_Lite_Factory.h
index 616c0086787..21d8a1c5c0e 100644
--- a/TAO/tao/UIOP_Lite_Factory.h
+++ b/TAO/tao/UIOP_Lite_Factory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_UIOP_LITE_FACTORY_H
-#include "ace/pre.h"
#define TAO_UIOP_LITE_FACTORY_H
+#include "ace/pre.h"
#include "tao/Protocol_Factory.h"
diff --git a/TAO/tao/UIOP_Profile.h b/TAO/tao/UIOP_Profile.h
index 563e35e5d20..29e57637599 100644
--- a/TAO/tao/UIOP_Profile.h
+++ b/TAO/tao/UIOP_Profile.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_UIOP_PROFILE_H
-#include "ace/pre.h"
#define TAO_UIOP_PROFILE_H
+#include "ace/pre.h"
#include "tao/Profile.h"
diff --git a/TAO/tao/UIOP_Transport.h b/TAO/tao/UIOP_Transport.h
index 9a743efe913..335701e4faf 100644
--- a/TAO/tao/UIOP_Transport.h
+++ b/TAO/tao/UIOP_Transport.h
@@ -20,8 +20,8 @@
// ============================================================================
#ifndef TAO_UIOP_TRANSPORT_H
-#include "ace/pre.h"
#define TAO_UIOP_TRANSPORT_H
+#include "ace/pre.h"
#include "tao/Pluggable.h"
diff --git a/TAO/tao/Union.h b/TAO/tao/Union.h
index a2c66992048..df5b0e9f895 100644
--- a/TAO/tao/Union.h
+++ b/TAO/tao/Union.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_UNION_H
-#include "ace/pre.h"
#define TAO_UNION_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/ValueBase.h b/TAO/tao/ValueBase.h
index ca538255b35..f4b8fd11207 100644
--- a/TAO/tao/ValueBase.h
+++ b/TAO/tao/ValueBase.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_VALUEBASE_H
-#include "ace/pre.h"
#define TAO_VALUEBASE_H
+#include "ace/pre.h"
#include "ace/OS.h" /* for ptr_arith_t */
diff --git a/TAO/tao/ValueFactory.h b/TAO/tao/ValueFactory.h
index 3596fdc0b8d..3d13ef36ab0 100644
--- a/TAO/tao/ValueFactory.h
+++ b/TAO/tao/ValueFactory.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_VALUEFACTORY_H
-#include "ace/pre.h"
#define TAO_VALUEFACTORY_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/ValueFactory_Map.h b/TAO/tao/ValueFactory_Map.h
index 03e00318db9..6c80dfe0be9 100644
--- a/TAO/tao/ValueFactory_Map.h
+++ b/TAO/tao/ValueFactory_Map.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_VALUEFACTORY_MAP_H
-#include "ace/pre.h"
#define TAO_VALUEFACTORY_MAP_H
+#include "ace/pre.h"
#include "ace/Hash_Map_Manager.h"
diff --git a/TAO/tao/Wait_Strategy.h b/TAO/tao/Wait_Strategy.h
index 4a083497456..09496aed1e3 100644
--- a/TAO/tao/Wait_Strategy.h
+++ b/TAO/tao/Wait_Strategy.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_WAIT_STRATEGY_H
-#include "ace/pre.h"
#define TAO_WAIT_STRATEGY_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/WrongTransactionC.h b/TAO/tao/WrongTransactionC.h
index f203e96131d..3bc652e8a06 100644
--- a/TAO/tao/WrongTransactionC.h
+++ b/TAO/tao/WrongTransactionC.h
@@ -19,8 +19,8 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#ifndef TAO_IDL_WRONG_TRANSACTIONC_H
-#include "ace/pre.h"
#define TAO_IDL_WRONG_TRANSACTIONC_H
+#include "ace/pre.h"
#include "tao/orbconf.h"
diff --git a/TAO/tao/corba.h b/TAO/tao/corba.h
index 45766a5b968..36305c7615f 100644
--- a/TAO/tao/corba.h
+++ b/TAO/tao/corba.h
@@ -23,8 +23,8 @@
// ============================================================================
#ifndef TAO_MASTER_CORBA_H
-#include "ace/pre.h"
#define TAO_MASTER_CORBA_H
+#include "ace/pre.h"
// ACE specific includes
#include "ace/OS.h"
diff --git a/TAO/tao/corbafwd.h b/TAO/tao/corbafwd.h
index 1023e7484b3..ff49cafe1cc 100644
--- a/TAO/tao/corbafwd.h
+++ b/TAO/tao/corbafwd.h
@@ -25,8 +25,8 @@
// ============================================================================
#ifndef TAO_CORBAFWD_H
-#include "ace/pre.h"
#define TAO_CORBAFWD_H
+#include "ace/pre.h"
// @@ TODO take the portion that we need of ace/CDR_Stream.h into
// ace/CDR_Types.h
diff --git a/TAO/tao/debug.h b/TAO/tao/debug.h
index 46d5ab510f9..472dfa2d5f9 100644
--- a/TAO/tao/debug.h
+++ b/TAO/tao/debug.h
@@ -19,8 +19,8 @@
// ============================================================================
#ifndef TAO_DEBUG_H
-#include "ace/pre.h"
#define TAO_DEBUG_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/default_client.h b/TAO/tao/default_client.h
index fec33e3212c..ccec2651f2a 100644
--- a/TAO/tao/default_client.h
+++ b/TAO/tao/default_client.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_DEFAULT_CLIENT_H
-#include "ace/pre.h"
#define TAO_DEFAULT_CLIENT_H
+#include "ace/pre.h"
#include "tao/Client_Strategy_Factory.h"
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h
index f86c79fdb8f..c87548bbcab 100644
--- a/TAO/tao/default_resource.h
+++ b/TAO/tao/default_resource.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_DEFAULT_RESOURCE_H
-#include "ace/pre.h"
#define TAO_DEFAULT_RESOURCE_H
+#include "ace/pre.h"
#include "tao/Resource_Factory.h"
diff --git a/TAO/tao/default_server.h b/TAO/tao/default_server.h
index f8ce2d61ad8..ad8616f1d9a 100644
--- a/TAO/tao/default_server.h
+++ b/TAO/tao/default_server.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_DEFAULT_SERVER_FACTORY_H
-#include "ace/pre.h"
#define TAO_DEFAULT_SERVER_FACTORY_H
+#include "ace/pre.h"
#include "tao/Server_Strategy_Factory.h"
diff --git a/TAO/tao/operation_details.h b/TAO/tao/operation_details.h
index d5bebd5eb93..574fd258114 100644
--- a/TAO/tao/operation_details.h
+++ b/TAO/tao/operation_details.h
@@ -13,8 +13,8 @@
// ============================================================================
#ifndef TAO_OPERATION_DETAILS_H
-#include "ace/pre.h"
#define TAO_OPERATION_DETAILS_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h
index e0e777b8757..8d05f055d2a 100644
--- a/TAO/tao/orbconf.h
+++ b/TAO/tao/orbconf.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef TAO_ORB_CONFIG_H
-#include "ace/pre.h"
#define TAO_ORB_CONFIG_H
+#include "ace/pre.h"
#include "ace/OS.h"
diff --git a/TAO/tao/params.h b/TAO/tao/params.h
index 16d9598ee0b..7455a254ad9 100644
--- a/TAO/tao/params.h
+++ b/TAO/tao/params.h
@@ -16,8 +16,8 @@
// ============================================================================
#ifndef TAO_PARAMS_H
-#include "ace/pre.h"
#define TAO_PARAMS_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
#include "tao/IOR_LookupTable.h"
diff --git a/TAO/tao/poa_macros.h b/TAO/tao/poa_macros.h
index eaa7fc672fb..b1025edf8dc 100644
--- a/TAO/tao/poa_macros.h
+++ b/TAO/tao/poa_macros.h
@@ -1,8 +1,8 @@
// $Id$
#ifndef TAO_POA_MACROS_H
-#include "ace/pre.h"
#define TAO_POA_MACROS_H
+#include "ace/pre.h"
#include "tao/try_macros.h"
diff --git a/TAO/tao/qt_resource.h b/TAO/tao/qt_resource.h
index 50944d0cb7e..30ff02ede14 100644
--- a/TAO/tao/qt_resource.h
+++ b/TAO/tao/qt_resource.h
@@ -14,8 +14,8 @@
// integrated in to TAO by Balachandran Natarajan <bala@cs.wustl.edu>
// ============================================================================
#ifndef _TAO_QTRESOURCE_H
-#include "ace/pre.h"
#define _TAO_QTRESOURCE_H
+#include "ace/pre.h"
#include "tao/default_resource.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
diff --git a/TAO/tao/rtcorbafwd.h b/TAO/tao/rtcorbafwd.h
index 3861e163167..46bb4e808ea 100644
--- a/TAO/tao/rtcorbafwd.h
+++ b/TAO/tao/rtcorbafwd.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef TAO_RTCORBAFWD_H
-#include "ace/pre.h"
#define TAO_RTCORBAFWD_H
+#include "ace/pre.h"
#include "tao/corbafwd.h"
diff --git a/TAO/tao/singletons.h b/TAO/tao/singletons.h
index 049d38aaec9..b6996d461de 100644
--- a/TAO/tao/singletons.h
+++ b/TAO/tao/singletons.h
@@ -21,8 +21,8 @@
// ============================================================================
#ifndef TAO_SINGLETONS_H
-#include "ace/pre.h"
#define TAO_SINGLETONS_H
+#include "ace/pre.h"
#include "ace/Singleton.h"
diff --git a/TAO/tao/target_specification.h b/TAO/tao/target_specification.h
index 651565488a5..59b1268fee0 100644
--- a/TAO/tao/target_specification.h
+++ b/TAO/tao/target_specification.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_TARGET_SPECIFICATION_H
-#include "ace/pre.h"
#define TAO_TARGET_SPECIFICATION_H
+#include "ace/pre.h"
#include "tao/Object_KeyC.h"
#include "tao/IOPC.h"
diff --git a/TAO/tao/try_macros.h b/TAO/tao/try_macros.h
index 418a9dbe5c1..c7c622592ea 100644
--- a/TAO/tao/try_macros.h
+++ b/TAO/tao/try_macros.h
@@ -41,8 +41,8 @@
// ============================================================================
#ifndef TAO_TRY_MACROS_H
-#include "ace/pre.h"
#define TAO_TRY_MACROS_H
+#include "ace/pre.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
diff --git a/TAO/tao/varout.h b/TAO/tao/varout.h
index c2c6182a0d4..b83c0bee28e 100644
--- a/TAO/tao/varout.h
+++ b/TAO/tao/varout.h
@@ -18,8 +18,8 @@
// ============================================================================
#ifndef TAO_VAROUT_H
-#include "ace/pre.h"
#define TAO_VAROUT_H
+#include "ace/pre.h"
#include "tao/Object.h"
diff --git a/TAO/tao/xt_resource.h b/TAO/tao/xt_resource.h
index 3b52a4e11b0..cf78196f03c 100644
--- a/TAO/tao/xt_resource.h
+++ b/TAO/tao/xt_resource.h
@@ -15,8 +15,8 @@
// ============================================================================
#ifndef TAO_XT_RESOURCE_H
-#include "ace/pre.h"
#define TAO_XT_RESOURCE_H
+#include "ace/pre.h"
#include "tao/default_resource.h"