mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
build: use format macros in all linux boards
This doesn't work for px4 since it manually defines __STDC_FORMAT_MACROS in some px4 modules, which needs to be updated.
This commit is contained in:
parent
b70b9ed8d1
commit
3a5bc141bb
@ -232,6 +232,10 @@ class linux(Board):
|
|||||||
'AP_HAL_Linux',
|
'AP_HAL_Linux',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# We always want to use PRI format macros
|
||||||
|
cfg.define('__STDC_FORMAT_MACROS', 1)
|
||||||
|
|
||||||
|
|
||||||
class minlure(linux):
|
class minlure(linux):
|
||||||
def configure_env(self, cfg, env):
|
def configure_env(self, cfg, env):
|
||||||
super(minlure, self).configure_env(cfg, env)
|
super(minlure, self).configure_env(cfg, env)
|
||||||
|
Loading…
Reference in New Issue
Block a user