[BTRFS]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 8 Sep 2017 08:15:21 +0000 (08:15 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 8 Sep 2017 08:15:21 +0000 (08:15 +0000)
Fix build

CORE-13763

svn path=/trunk/; revision=75787

reactos/drivers/filesystems/btrfs/balance.c
reactos/sdk/include/psdk/ntddstor.h

index c961fc4..cf97174 100644 (file)
@@ -67,9 +67,11 @@ typedef struct {
     LIST_ENTRY list_entry;
 } data_reloc_ref;
 
     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
 #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
 
 
 #define BALANCE_UNIT 0x100000 // only read 1 MB at a time
 
index 900f539..2a5c64d 100644 (file)
@@ -566,6 +566,8 @@ typedef struct _DEVICE_TRIM_DESCRIPTOR {
 
 typedef ULONG DEVICE_DATA_MANAGEMENT_SET_ACTION;
 
 
 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;
 typedef struct _DEVICE_DATA_SET_RANGE {
   LONGLONG StartingOffset;
   ULONGLONG LengthInBytes;