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
Esse commit está contido em:
commit de
Jason Tang
pai
159f7f24cd
commit
c4aa6febe5
@@ -24,11 +24,11 @@
|
||||
//
|
||||
// Testing module (plugin) interface forward declarations
|
||||
//
|
||||
#ifdef ATI_OS_WIN
|
||||
#ifdef _WIN32
|
||||
#define OCL_DLLEXPORT __declspec(dllexport)
|
||||
#define OCL_CALLCONV __cdecl
|
||||
#endif
|
||||
#ifdef ATI_OS_LINUX
|
||||
#ifdef __linux__
|
||||
#define OCL_DLLEXPORT
|
||||
#define OCL_CALLCONV
|
||||
#endif
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef _OCL_INCLUDES_H
|
||||
#define _OCL_INCLUDES_H
|
||||
|
||||
#ifdef ATI_OS_WIN
|
||||
#ifdef _WIN32
|
||||
#define POINTER_64 __ptr64
|
||||
#include <windows.h>
|
||||
#include "d3d9.h"
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário