mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
SDL_hidapi_ps4.c: define NTDDI_VISTA / _WIN32_WINNT_VISTA if not defined
it still needs a Vista or newer Platform SDK to build, though.
This commit is contained in:
parent
7d3a7ef827
commit
90454b1ece
@ -138,6 +138,13 @@ static Uint32 crc32(Uint32 crc, const void *data, int count)
|
|||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
#include "../../core/windows/SDL_windows.h"
|
#include "../../core/windows/SDL_windows.h"
|
||||||
|
|
||||||
|
#ifndef NTDDI_VISTA
|
||||||
|
#define NTDDI_VISTA 0x06000000
|
||||||
|
#endif
|
||||||
|
#ifndef _WIN32_WINNT_VISTA
|
||||||
|
#define _WIN32_WINNT_VISTA 0x0600
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define Vista for the Audio related includes below to work */
|
/* Define Vista for the Audio related includes below to work */
|
||||||
#undef NTDDI_VERSION
|
#undef NTDDI_VERSION
|
||||||
#define NTDDI_VERSION NTDDI_VISTA
|
#define NTDDI_VERSION NTDDI_VISTA
|
||||||
|
Loading…
Reference in New Issue
Block a user