mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 09:56:26 +00:00
Define SDL_PLATFORM_* macros instead of underscored ones (#8875)
This commit is contained in:

committed by
GitHub

parent
ceccf24519
commit
31d133db40
@@ -23,25 +23,25 @@
|
||||
#define SDL_dynapi_unsupported_h_
|
||||
|
||||
|
||||
#if !(defined(__WIN32__) || defined(__GDK__))
|
||||
#if !(defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_GDK))
|
||||
typedef struct ID3D12Device ID3D12Device;
|
||||
typedef void *SDL_WindowsMessageHook;
|
||||
#endif
|
||||
|
||||
#if !(defined(__WIN32__) || defined(__WINGDK__))
|
||||
#if !(defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK))
|
||||
typedef struct ID3D11Device ID3D11Device;
|
||||
typedef struct IDirect3DDevice9 IDirect3DDevice9;
|
||||
#endif
|
||||
|
||||
#ifndef __GDK__
|
||||
#ifndef SDL_PLATFORM_GDK
|
||||
typedef struct XTaskQueueHandle XTaskQueueHandle;
|
||||
#endif
|
||||
|
||||
#ifndef __WINRT__
|
||||
#ifndef SDL_PLATFORM_WINRT
|
||||
typedef int SDL_WinRT_DeviceFamily;
|
||||
typedef int SDL_WinRT_Path;
|
||||
#endif
|
||||
#ifndef __GDK__
|
||||
#ifndef SDL_PLATFORM_GDK
|
||||
typedef struct XUserHandle XUserHandle;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user