Author: pschweitzer Date: Fri Sep 8 08:15:21 2017 New Revision: 75787
URL: http://svn.reactos.org/svn/reactos?rev=75787&view=rev Log: [BTRFS] Fix build
CORE-13763
Modified: trunk/reactos/drivers/filesystems/btrfs/balance.c trunk/reactos/sdk/include/psdk/ntddstor.h
Modified: trunk/reactos/drivers/filesystems/btrfs/balance.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/btrfs/b... ============================================================================== --- trunk/reactos/drivers/filesystems/btrfs/balance.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/btrfs/balance.c [iso-8859-1] Fri Sep 8 08:15:21 2017 @@ -67,8 +67,10 @@ 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
Modified: trunk/reactos/sdk/include/psdk/ntddstor.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/ntddstor.h... ============================================================================== --- trunk/reactos/sdk/include/psdk/ntddstor.h [iso-8859-1] (original) +++ trunk/reactos/sdk/include/psdk/ntddstor.h [iso-8859-1] Fri Sep 8 08:15:21 2017 @@ -566,6 +566,8 @@
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;