SWDEV-301289 - Treewide macro rename
ATI_OS_WIN -> _WIN32
ATI_OS_LINUX -> __linux__
We should not rely on non-standard macros for platform detections.
Change-Id: If1d06e2e1187268df62a59609ea5496ab7eb709d
[ROCm/clr commit: c4aa6febe5]
Cette révision appartient à :
1 Parent
79be42d8b7
révision
60cf342ae0
27 fichiers modifiés
+92
-93
Aucun fichier ne correspond à votre recherche
@@ -4377,7 +4377,7 @@ vdiAgent_OnLoad(vdi_agent * agent)
|
||||
std::string clTraceLogStr = clTraceLogEnv;
|
||||
const std::size_t pidPos = clTraceLogStr.find("%pid%");
|
||||
if (pidPos != std::string::npos) {
|
||||
#if defined(ATI_OS_WIN)
|
||||
#if defined(_WIN32)
|
||||
const std::int32_t pid = _getpid();
|
||||
#else
|
||||
const std::int32_t pid = getpid();
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur