diff options
| author | Stefan Boberg <[email protected]> | 2021-09-27 14:48:00 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-27 14:48:00 +0200 |
| commit | c93cfbce066d481eeacdebd9eba9281ba6b66b2c (patch) | |
| tree | d37acb0b66d28174abd1c47e9f2dd0f9ad39aa3d | |
| parent | httpsys: remove atl #include which is no longer needed (diff) | |
| download | zen-c93cfbce066d481eeacdebd9eba9281ba6b66b2c.tar.xz zen-c93cfbce066d481eeacdebd9eba9281ba6b66b2c.zip | |
CompactBinary: PLATFORM_SUPPORTS_UNALIGNED_LOADS -> ZEN_PLATFORM_SUPPORTS_UNALIGNED_LOADS
| -rw-r--r-- | zencore/compactbinaryvalidation.cpp | 2 | ||||
| -rw-r--r-- | zencore/include/zencore/compactbinaryvalue.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/zencore/compactbinaryvalidation.cpp b/zencore/compactbinaryvalidation.cpp index 3d72148f9..a787e88ab 100644 --- a/zencore/compactbinaryvalidation.cpp +++ b/zencore/compactbinaryvalidation.cpp @@ -17,7 +17,7 @@ namespace CbValidationPrivate { template<typename T> static constexpr inline T ReadUnaligned(const void* const Memory) { -#if PLATFORM_SUPPORTS_UNALIGNED_LOADS +#if ZEN_PLATFORM_SUPPORTS_UNALIGNED_LOADS return *static_cast<const T*>(Memory); #else T Value; diff --git a/zencore/include/zencore/compactbinaryvalue.h b/zencore/include/zencore/compactbinaryvalue.h index 5795ef957..0124a8983 100644 --- a/zencore/include/zencore/compactbinaryvalue.h +++ b/zencore/include/zencore/compactbinaryvalue.h @@ -15,7 +15,7 @@ namespace CompactBinaryPrivate { template<typename T> static constexpr inline T ReadUnaligned(const void* const Memory) { -#if PLATFORM_SUPPORTS_UNALIGNED_LOADS +#if ZEN_PLATFORM_SUPPORTS_UNALIGNED_LOADS return *static_cast<const T*>(Memory); #else T Value; |