diff options
Diffstat (limited to 'ace/Service_Config.h')
-rw-r--r-- | ace/Service_Config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Service_Config.h b/ace/Service_Config.h index f84ff86b7c3..f61b3e7497f 100644 --- a/ace/Service_Config.h +++ b/ace/Service_Config.h @@ -31,9 +31,9 @@ class ACE_Service_Type; class ACE_Allocator; class ACE_Reactor; class ACE_Thread_Manager; -#if defined (ACE_HAS_LEGACY_SERVICE_CONFIG) +#if defined (ACE_HAS_CLASSIC_SVC_CONF) && (ACE_HAS_CLASSIC_SVC_CONF == 1) class ACE_Svc_Conf_Param; -#endif /* ACE_HAS_LEGACY_SERVICE_CONFIG */ +#endif /* ACE_HAS_CLASSIC_SVC_CONF && ACE_HAS_CLASSIC_SVC_CONF ==1 */ extern "C" { @@ -357,12 +357,12 @@ protected: /// command-line. Returns the number of errors that occurred. static int process_commandline_directives (void); -#if defined (ACE_HAS_LEGACY_SERVICE_CONFIG) +#if defined (ACE_HAS_CLASSIC_SVC_CONF) && (ACE_HAS_CLASSIC_SVC_CONF == 1) /// This is the implementation function that process_directives() /// and process_directive() both call. Returns the number of errors /// that occurred. static int process_directives_i (ACE_Svc_Conf_Param *param); -#endif /* ACE_HAS_LEGACY_SERVICE_CONFIG */ +#endif /* ACE_HAS_CLASSIC_SVC_CONF && ACE_HAS_CLASSIC_SVC_CONF == 1 */ /// Become a daemon. static int start_daemon (void); |