mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 14:47:44 +08:00
defines.h delete obsolete PRIu64, PRId64, and offsetof
This commit is contained in:
@@ -105,17 +105,6 @@ typedef param_t px4_param_t;
|
||||
#define PX4_O_MODE_666 0666
|
||||
#define PX4_O_MODE_600 0600
|
||||
|
||||
#ifndef PRIu64
|
||||
# define PRIu64 "llu"
|
||||
#endif
|
||||
#ifndef PRId64
|
||||
# define PRId64 "lld"
|
||||
#endif
|
||||
|
||||
#ifndef offsetof
|
||||
# define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER)
|
||||
#endif
|
||||
|
||||
#elif defined(__PX4_POSIX)
|
||||
/****************************************************************************
|
||||
* POSIX Specific defines
|
||||
|
||||
Reference in New Issue
Block a user