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]
This commit is contained in:
committed by
Jason Tang
parent
79be42d8b7
commit
60cf342ae0
@@ -241,7 +241,7 @@ void OCLTestImp::setOCLWrapper(OCLWrapper* wrapper) { _wrapper = wrapper; }
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef ATI_OS_WIN
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
@@ -251,11 +251,11 @@ static int initializeSeed(void) {
|
||||
return (int)val;
|
||||
}
|
||||
|
||||
#endif // ATI_OS_WIN
|
||||
#endif // _WIN32
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef ATI_OS_LINUX
|
||||
#ifdef __linux__
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
@@ -265,7 +265,7 @@ static int initializeSeed(void) {
|
||||
return (int)t.tv_usec;
|
||||
}
|
||||
|
||||
#endif // ATI_OS_LINUX
|
||||
#endif // __linux__
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user