diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-08 15:50:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-08 15:50:45 +0100 |
| commit | 386b6ba6702aaf121a8667b68fba86385dad68ed (patch) | |
| tree | 985c7eda4fafa827eaad88b6b469b0baba791817 /vendor/toml++/impl/simd.hpp | |
| parent | 7a469801ecb55fcde0199d4e41b1cec3a17dcb05 (diff) | |
| parent | ddb1cbc831b6d13b985d91022f01e955e24ae871 (diff) | |
Merge pull request #25 from ne-foss-org/nebuild-patches-deref
[CHORE] Patching TOML manifest parser to avoid null deref.
Diffstat (limited to 'vendor/toml++/impl/simd.hpp')
| -rw-r--r-- | vendor/toml++/impl/simd.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vendor/toml++/impl/simd.hpp b/vendor/toml++/impl/simd.hpp index ef66d66..0f9616c 100644 --- a/vendor/toml++/impl/simd.hpp +++ b/vendor/toml++/impl/simd.hpp @@ -1,14 +1,14 @@ -//# This file is a part of toml++ and is subject to the the terms of the MIT license. -//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au> -//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text. -// SPDX-License-Identifier: MIT +// # This file is a part of toml++ and is subject to the the terms of the MIT license. +// # Copyright (c) Mark Gillard <mark.gillard@outlook.com.au> +// # See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text. +// SPDX-License-Identifier: MIT #pragma once #include "preprocessor.hpp" #if TOML_ENABLE_SIMD -#if defined(__SSE2__) \ - || (defined(_MSC_VER) && (defined(_M_AMD64) || defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2))) +#if defined(__SSE2__) || (defined(_MSC_VER) && (defined(_M_AMD64) || defined(_M_X64) || \ + (defined(_M_IX86_FP) && _M_IX86_FP >= 2))) #define TOML_HAS_SSE2 1 #endif @@ -16,7 +16,7 @@ #define TOML_HAS_SSE4_1 1 #endif -#endif // TOML_ENABLE_SIMD +#endif // TOML_ENABLE_SIMD #ifndef TOML_HAS_SSE2 #define TOML_HAS_SSE2 0 |
