Fix P4 linux make builds

Change-Id: I6cc4e69a914389b53bc3b52535eb6faf24897a09
Tento commit je obsažen v:
Saleel Kudchadker
2020-03-10 00:02:10 -07:00
rodič 8d05d06dce
revize 7bba326ed1
2 změnil soubory, kde provedl 17 přidání a 6 odebrání
+3 -3
Zobrazit soubor
@@ -105,9 +105,9 @@ char* demangle(const char* loweredName) {
if (!loweredName) {
return nullptr;
}
#if HIPRTC_USE_CXXABI || __linux__
#if __linux__
int status = 0;
char* demangledName = abi::__cxa_demangle(loweredName, nullptr, nullptr, &status);
char* demangledName = DEMANGLE(loweredName, nullptr, nullptr, &status);
if (status != 0) {
return nullptr;
}
@@ -122,7 +122,7 @@ char* demangle(const char* loweredName) {
}
#else
#error "Only Linux and Windows are supported"
#endif // HIPRTC_USE_CXXABI || __linux__
#endif // __linux__
return demangledName;
}