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

Change-Id: I09ceb5962b7aa19156909f47167c87d6887c9cd1


[ROCm/clr commit: 3edf1501cc]
This commit is contained in:
Ioannis Assiouras
2024-06-07 15:02:50 +01:00
parent 09defbc48f
commit af089a2171
13 ha cambiato i file con 38 aggiunte e 36 eliminazioni
+6
Vedi File
@@ -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