diff --git a/reactos/drivers/filesystems/btrfs/balance.c b/reactos/drivers/filesystems/btrfs/balance.c index c961fc47d34..cf9717480da 100644 --- a/reactos/drivers/filesystems/btrfs/balance.c +++ b/reactos/drivers/filesystems/btrfs/balance.c @@ -67,9 +67,11 @@ typedef struct { LIST_ENTRY list_entry; } data_reloc_ref; +#ifndef __REACTOS__ #ifndef _MSC_VER // not in mingw yet #define DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED 0x80000000 #endif +#endif #define BALANCE_UNIT 0x100000 // only read 1 MB at a time diff --git a/reactos/sdk/include/psdk/ntddstor.h b/reactos/sdk/include/psdk/ntddstor.h index 900f539a002..2a5c64d1b7c 100644 --- a/reactos/sdk/include/psdk/ntddstor.h +++ b/reactos/sdk/include/psdk/ntddstor.h @@ -566,6 +566,8 @@ typedef struct _DEVICE_TRIM_DESCRIPTOR { typedef ULONG DEVICE_DATA_MANAGEMENT_SET_ACTION; +#define DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED 0x80000000 + typedef struct _DEVICE_DATA_SET_RANGE { LONGLONG StartingOffset; ULONGLONG LengthInBytes;