forked from mpusz/mp-units
fix: si.h and angular.h now properly include hacks.h to define MP_UNITS_HOSTED before its usage
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user