summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf_Lexer_Guard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Svc_Conf_Lexer_Guard.cpp')
-rw-r--r--ace/Svc_Conf_Lexer_Guard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/Svc_Conf_Lexer_Guard.cpp b/ace/Svc_Conf_Lexer_Guard.cpp
index 13848feaac9..74e4db70461 100644
--- a/ace/Svc_Conf_Lexer_Guard.cpp
+++ b/ace/Svc_Conf_Lexer_Guard.cpp
@@ -1,5 +1,6 @@
// -*- C++ -*-
+#if defined (ACE_HAS_LEGACY_SERVICE_CONFIG)
#include "ace/Svc_Conf.h"
#include "ace/Svc_Conf_Lexer_Guard.h"
@@ -34,3 +35,4 @@ ACE_Svc_Conf_Lexer_Guard::~ACE_Svc_Conf_Lexer_Guard (void)
::ace_yy_pop_buffer (this->buffer_);
}
+#endif /* ACE_HAS_LEGACY_SERVICE_CONFIG */