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
This commit is contained in:
committed by
Jason Tang
parent
159f7f24cd
commit
c4aa6febe5
@@ -21,10 +21,10 @@
|
||||
#ifndef _OCLMODULE_H_
|
||||
#define _OCLMODULE_H_
|
||||
|
||||
#ifdef ATI_OS_WIN
|
||||
#ifdef _WIN32
|
||||
#define OCLLCONV __cdecl
|
||||
#endif
|
||||
#ifdef ATI_OS_LINUX
|
||||
#ifdef __linux__
|
||||
#define OCLLCONV
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user