mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 19:04:27 +02:00
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