mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 11:54:27 +02:00
feat: MP_UNITS_IMPORT_STD
and MP_UNITS_MODULES
handled properly in test_package.cpp
This commit is contained in:
@@ -20,7 +20,16 @@
|
|||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// 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/format.h>
|
||||||
#include <mp-units/ostream.h>
|
#include <mp-units/ostream.h>
|
||||||
#include <mp-units/systems/isq.h>
|
#include <mp-units/systems/isq.h>
|
||||||
|
Reference in New Issue
Block a user