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
这个提交包含在:
Vladislav Sytchenko 编写, Jason Tang 于 2021-09-26 12:13:37 -04:00 提交
1 父节点 159f7f24cd
当前提交 c4aa6febe5
27 个文件已更改
+92 -93

没有与搜索条件相匹配的文件

+2 -2
查看文件
@@ -134,7 +134,7 @@ cl_icd_dispatch amd::ICDDispatchedObject::icdVendorDispatch_[] = {
clSetProgramReleaseCallback,
clSetProgramSpecializationConstant }};
#if defined(ATI_OS_WIN)
#if defined(_WIN32)
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
@@ -260,7 +260,7 @@ static bool ShouldLoadPlatform() {
return shouldLoad;
}
#endif // defined(ATI_OS_WIN)
#endif // defined(_WIN32)
CL_API_ENTRY cl_int CL_API_CALL clIcdGetPlatformIDsKHR(cl_uint num_entries,
cl_platform_id* platforms,