mirror of https://github.com/ArduPilot/ardupilot
waf: use STDC format macros
This commit is contained in:
parent
f3f34be9c4
commit
ee62b61fc7
|
@ -157,6 +157,9 @@ class Board:
|
|||
'-Wl,--gc-sections',
|
||||
]
|
||||
|
||||
# We always want to use PRI format macros
|
||||
cfg.define('__STDC_FORMAT_MACROS', 1)
|
||||
|
||||
|
||||
def build(self, bld):
|
||||
bld.ap_version_append_str('GIT_VERSION', bld.git_head_hash(short=True))
|
||||
|
@ -238,9 +241,6 @@ class linux(Board):
|
|||
'AP_HAL_Linux',
|
||||
]
|
||||
|
||||
# We always want to use PRI format macros
|
||||
cfg.define('__STDC_FORMAT_MACROS', 1)
|
||||
|
||||
|
||||
class minlure(linux):
|
||||
def configure_env(self, cfg, env):
|
||||
|
|
Loading…
Reference in New Issue