We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001e852 commit e2ae02bCopy full SHA for e2ae02b
ydb/src/ydb/component.cpp
@@ -29,7 +29,8 @@
29
30
#include <dynamic_config/variables/YDB_RETRY_BUDGET.hpp>
31
32
-#ifndef ARCADIA_ROOT
+// YDB headers leak `ARCADIA_ROOT` macro, so we use __has_include()
33
+#if __has_include("generated/src/ydb/component.yaml.hpp")
34
#include "generated/src/ydb/component.yaml.hpp" // Y_IGNORE
35
#endif
36
ydb/src/ydb/dist_lock/component_base.cpp
@@ -11,7 +11,8 @@
11
12
#include <ydb/impl/dist_lock/semaphore_settings.hpp>
13
14
15
+#if __has_include("generated/src/ydb/dist_lock/component_base.yaml.hpp")
16
#include "generated/src/ydb/dist_lock/component_base.yaml.hpp" // Y_IGNORE
17
18
0 commit comments