mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Add support for compiling under MinGW + fix Windows compiling in general
This commit is contained in:
parent
e3a45c193c
commit
a5cf494890
56 changed files with 243 additions and 76 deletions
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
// Starting with version 10.0.22621.0 of the Windows SDK the AR_STATE enum and
|
||||
// types are only defined when building for Windows 8 instead of Windows 7.
|
||||
#if (WDK_NTDDI_VERSION >= 0x0A00000C) && (WINVER < 0x0602)
|
||||
#if (WDK_NTDDI_VERSION >= 0x0A00000C) && (WINVER < 0x0602) && !defined(MOZ_AR_STATE_DEFINED)
|
||||
|
||||
enum tagAR_STATE {
|
||||
AR_ENABLED = 0x0,
|
||||
|
|
@ -57,6 +57,8 @@ typedef enum tagAR_STATE AR_STATE;
|
|||
|
||||
using PAR_STATE = enum tagAR_STATE*;
|
||||
|
||||
#define MOZ_AR_STATE_DEFINED 1
|
||||
|
||||
#endif // (WDK_NTDDI_VERSION >= 0x0A00000C) && (WINVER < 0x0602)
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue