mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[winpr,sysinfo] include winnt.h
* PF_SSE4_1_INSTRUCTIONS_AVAILABLE et al are defined in winnt.h on windows / mingw. Include explicitly to fix a mingw build issue.
This commit is contained in:
@@ -31,8 +31,9 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winnt.h>
|
||||
#else
|
||||
#define PROCESSOR_ARCHITECTURE_INTEL 0
|
||||
#define PROCESSOR_ARCHITECTURE_MIPS 1
|
||||
#define PROCESSOR_ARCHITECTURE_ALPHA 2
|
||||
|
||||
Reference in New Issue
Block a user