Skip to content

Commit 175dee5

Browse files
committed
Add "_USE_MATH_DEFINES" to test HAL too.
1 parent 19f0681 commit 175dee5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

platformio.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ test_port = com9
9595
platform = native @ ~1.2.1
9696
build_flags =
9797
-std=c++11
98-
-DTARGET_NATIVE
9998
-I./lib/Webots/include/c
10099
-I./lib/Webots/include/cpp
100+
-D TARGET_NATIVE
101101
-D _USE_MATH_DEFINES
102102
lib_deps =
103103
MainNative
@@ -122,9 +122,10 @@ webots_robot_serial_tx_channel = 2
122122
platform = native @ ~1.2.1
123123
build_flags =
124124
-std=c++11
125-
-DTARGET_NATIVE
126-
-DUNIT_TEST
127125
-Itest/common
126+
-D TARGET_NATIVE
127+
-D UNIT_TEST
128+
-D _USE_MATH_DEFINES
128129
lib_deps =
129130
MainTestNative
130131
BlueAndi/ArduinoNative @ ~0.2.1

0 commit comments

Comments
 (0)