SWDEV-463865 - namespace changes to prevent symbol conflicts in static builds
Change-Id: I09ceb5962b7aa19156909f47167c87d6887c9cd1
[ROCm/clr commit: 3edf1501cc]
This commit is contained in:
@@ -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
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user