diff --git a/platformio.ini b/platformio.ini index 3c77179..730a929 100644 --- a/platformio.ini +++ b/platformio.ini @@ -95,9 +95,9 @@ test_port = com9 platform = native @ ~1.2.1 build_flags = -std=c++11 - -DTARGET_NATIVE -I./lib/Webots/include/c -I./lib/Webots/include/cpp + -D TARGET_NATIVE -D _USE_MATH_DEFINES lib_deps = MainNative @@ -122,9 +122,10 @@ webots_robot_serial_tx_channel = 2 platform = native @ ~1.2.1 build_flags = -std=c++11 - -DTARGET_NATIVE - -DUNIT_TEST -Itest/common + -D TARGET_NATIVE + -D UNIT_TEST + -D _USE_MATH_DEFINES lib_deps = MainTestNative BlueAndi/ArduinoNative @ ~0.2.1