Small fix for building unit test on Windows (#56)

Was necessary to add -D __STDC_FORMAT_MACROS for MinGW gcc 8.1.0
This commit is contained in:
hogthrob
2019-10-16 06:29:12 +02:00
committed by Martin Jäger
parent aeeff56492
commit 472fb03cc6
+2 -1
View File
@@ -104,9 +104,10 @@ build_flags = ${env.build_flags}
platform = native
framework =
build_flags =
-std=gnu++11
-std=gnu++17
-D LITTLE_ENDIAN
-D UNIT_TEST
-D __STDC_FORMAT_MACROS
# include src directory (otherwise unit-tests will only include lib directory)
test_build_project_src = true
lib_ignore = USB, mbed-USBDevice, mbed-mbedtls, USBSerial, ESP32, Adafruit_GFX, SX1276GenericLib