fix: si.h and angular.h now properly include hacks.h to define MP_UNITS_HOSTED before its usage

This commit is contained in:
Mateusz Pusz
2024-07-12 15:03:19 +02:00
parent bc234b0093
commit b5e8f2afcd
2 changed files with 4 additions and 0 deletions

View File

@@ -22,6 +22,8 @@
#pragma once
#include <mp-units/bits/hacks.h>
// IWYU pragma: begin_exports
#if MP_UNITS_HOSTED
#include <mp-units/systems/angular/math.h>

View File

@@ -22,6 +22,8 @@
#pragma once
#include <mp-units/bits/hacks.h>
// IWYU pragma: begin_exports
#if MP_UNITS_HOSTED
#include <mp-units/systems/si/chrono.h>