From cd59d5364f5b32ac136e4a91b8534f2410059cde Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 4 Mar 2018 18:48:16 +0100 Subject: Windows: Implement TRIM support for non-system SSD partitions/drives and add driver option to enable it (TRIM is disabled by default for non-system SSD partitions/drives) --- src/Common/Common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Common/Common.h') diff --git a/src/Common/Common.h b/src/Common/Common.h index 421d8239..0620b652 100644 --- a/src/Common/Common.h +++ b/src/Common/Common.h @@ -23,6 +23,8 @@ #define VOLUME_ID_SIZE SHA256_DIGESTSIZE +#define ALIGN_VALUE(value, alignment) (((alignment) == 0)? (value) : (((value) + ((alignment) - 1)) & ~((alignment) - 1))) + typedef enum { // IMPORTANT: If you add a new item here, update IsOSVersionAtLeast(). -- cgit v1.2.3