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
Tá an tiomantas seo le fáil i:
Vladislav Sytchenko
2021-08-30 14:04:35 -04:00
tiomanta ag Jason Tang
tuismitheoir 159f7f24cd
tiomantas c4aa6febe5
D'athraigh 27 comhad le 92 breiseanna agus 93 scriosta
@@ -26,7 +26,7 @@
#include <string.h>
#include <sstream>
#ifdef ATI_OS_LINUX
#ifdef __linux__
#include <unistd.h>
#endif
@@ -79,7 +79,7 @@ void OCLCreateBuffer::run(void) {
_wrapper->clFinish(cmdQueues_[_deviceId]);
size_t maxSteps = maxSize_;
#ifdef ATI_OS_LINUX
#ifdef __linux__
long pages = sysconf(_SC_PHYS_PAGES);
long page_size = sysconf(_SC_PAGE_SIZE);
if (maxSteps > (size_t)(pages * page_size / 2)) {