SWDEV-463865 - namespace changes to prevent symbol conflicts in static builds

Change-Id: I09ceb5962b7aa19156909f47167c87d6887c9cd1
This commit is contained in:
Ioannis Assiouras
2024-06-07 15:02:50 +01:00
rodzic b7d203edf6
commit 3edf1501cc
13 zmienionych plików z 38 dodań i 36 usunięć
+6
Wyświetl plik
@@ -204,6 +204,9 @@ Flag Flag::flags_[] = {
} // namespace amd
#ifndef _WIN32
namespace {
#endif
#define DEFINE_RELEASE_FLAG_VALUE(type, name, value, help) type name = value;
#define DEFINE_DEBUG_FLAG_VALUE(type, name, value, help) DEBUG_ONLY(type name = value);
@@ -211,3 +214,6 @@ RUNTIME_FLAGS(DEFINE_DEBUG_FLAG_VALUE, DEFINE_RELEASE_FLAG_VALUE, DEFINE_DEBUG_F
#undef DEFINE_DEBUG_FLAG_VALUE
#undef DEFINE_RELEASE_FLAG_VALUE
#ifndef _WIN32
}
#endif