diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/charset/wide_sse41.cpp | 24 | ||||
-rw-r--r-- | util/charset/ya.make | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/util/charset/wide_sse41.cpp b/util/charset/wide_sse41.cpp index addbdd5652..d1f2a74851 100644 --- a/util/charset/wide_sse41.cpp +++ b/util/charset/wide_sse41.cpp @@ -1,17 +1,17 @@ #include <util/charset/wide.h> -#include <util/system/types.h> +#include <util/system/types.h> -#ifdef SSE41_STUB - -namespace NDetail { - void UTF8ToWideImplSSE41(const unsigned char*&, const unsigned char*, wchar16*&) noexcept { - } +#ifdef SSE41_STUB + +namespace NDetail { + void UTF8ToWideImplSSE41(const unsigned char*&, const unsigned char*, wchar16*&) noexcept { + } void UTF8ToWideImplSSE41(const unsigned char*&, const unsigned char*, wchar32*&) noexcept { } -} - -#else - +} + +#else + #include <util/system/compiler.h> #include <cstring> @@ -243,5 +243,5 @@ namespace NDetail { // Possible improvement: go back to the vectorized processing after the error or the 4 byte sequence } } - -#endif + +#endif diff --git a/util/charset/ya.make b/util/charset/ya.make index eeaf5518e7..26d38cb10b 100644 --- a/util/charset/ya.make +++ b/util/charset/ya.make @@ -20,7 +20,7 @@ JOIN_SRCS( ) IF (ARCH_X86_64 AND NOT DISABLE_INSTRUCTION_SETS) - SRC_CPP_SSE41(wide_sse41.cpp) + SRC_CPP_SSE41(wide_sse41.cpp) ELSE() SRC( wide_sse41.cpp |