feat: MP_UNITS_IMPORT_STD and MP_UNITS_MODULES handled properly in test_package.cpp

This commit is contained in:
Mateusz Pusz
2024-09-19 15:26:33 -06:00
parent 64056ee321
commit adbae41175

View File

@@ -20,7 +20,16 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include <mp-units/bits/hacks.h>
#include <mp-units/compat_macros.h>
#include <mp-units/ext/format.h>
#ifdef MP_UNITS_IMPORT_STD
import std;
#else
#include <iostream>
#endif
#ifdef MP_UNITS_MODULES
import mp_units;
#else
#include <mp-units/format.h>
#include <mp-units/ostream.h>
#include <mp-units/systems/isq.h>