build: COMP_XXX renamed to UNITS_COMP_XXX

This commit is contained in:
Mateusz Pusz
2021-03-15 21:13:21 +01:00
parent 625f452daa
commit 5c94a40906
12 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -32,7 +32,7 @@
#include <cstdint>
#include <type_traits>
#if defined(COMP_MSVC)
#if defined(UNITS_COMP_MSVC)
#pragma warning( disable : 4459 ) // Disable shadowing warning.
#endif
@@ -82,7 +82,7 @@ static_assert(is_same_v<decltype(120.L * km / 2 / h), decltype(60._q_km_per_h)>)
static_assert(1. / 4 * m2 == 1._q_m2 / 4);
#if !defined(COMP_CLANG) // -Wshadow
#if !defined(UNITS_COMP_CLANG) // -Wshadow
static_assert([] {
Speed auto v0 = 10 * m / s;
signed s = 2; // hides ^