diff --git a/repertory/librepertory/include/common.hpp b/repertory/librepertory/include/common.hpp index b736f585..0d45f556 100644 --- a/repertory/librepertory/include/common.hpp +++ b/repertory/librepertory/include/common.hpp @@ -73,6 +73,8 @@ using native_handle = int; inline constexpr const auto NANOS_PER_SECOND = 1000000000L; +#define WINFSP_ALLOCATION_UNIT UINT64(4096U) + #if defined(_WIN32) #if defined(CreateDirectory) #undef CreateDirectory @@ -192,8 +194,6 @@ using UINT64 = std::uint64_t; using VOID = void; using WCHAR = wchar_t; -#define WINFSP_ALLOCATION_UNIT UINT64(4096U) - #define FILE_ATTRIBUTE_READONLY 0x00000001 #define FILE_ATTRIBUTE_HIDDEN 0x00000002 #define FILE_ATTRIBUTE_SYSTEM 0x00000004