mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 04:20:35 +08:00
Fix logger signed unsigned error with GCC 7.3 in Cygwin (#10009)
This commit is contained in:
committed by
Daniel Agar
parent
80cac6561f
commit
152c6db212
@@ -64,13 +64,15 @@
|
||||
#include <replay/definitions.hpp>
|
||||
#include <version/version.h>
|
||||
|
||||
#ifdef __PX4_DARWIN
|
||||
#if defined(__PX4_DARWIN)
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#else
|
||||
#include <sys/statfs.h>
|
||||
#endif
|
||||
|
||||
typedef decltype(statfs::f_bavail) px4_statfs_buf_f_bavail_t;
|
||||
|
||||
#define GPS_EPOCH_SECS ((time_t)1234567890ULL)
|
||||
|
||||
//#define DBGPRINT //write status output every few seconds
|
||||
|
||||
Reference in New Issue
Block a user