Browse Source

defines.h delete obsolete PRIu64, PRId64, and offsetof

sbg
Daniel Agar 5 years ago committed by GitHub
parent
commit
69bec3ee62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      platforms/common/include/px4_platform_common/defines.h

11
platforms/common/include/px4_platform_common/defines.h

@ -105,17 +105,6 @@ typedef param_t px4_param_t; @@ -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

Loading…
Cancel
Save