mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
v4l2: Don't redefine __bitwise if already set
https://bugzilla.gnome.org/show_bug.cgi?id=728438
This commit is contained in:
parent
27310365d5
commit
9f936c9244
1 changed files with 13 additions and 8 deletions
|
@ -25,16 +25,21 @@
|
||||||
#define __TYPES_COMPAT_H__
|
#define __TYPES_COMPAT_H__
|
||||||
|
|
||||||
/* From linux/types.h */
|
/* From linux/types.h */
|
||||||
|
#ifndef __bitwise__
|
||||||
# ifdef __CHECKER__
|
# ifdef __CHECKER__
|
||||||
# define __bitwise__ __attribute__((bitwise))
|
# define __bitwise__ __attribute__((bitwise))
|
||||||
# else
|
# else
|
||||||
# define __bitwise__
|
# define __bitwise__
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __bitwise
|
||||||
# ifdef __CHECK_ENDIAN__
|
# ifdef __CHECK_ENDIAN__
|
||||||
# define __bitwise __bitwise__
|
# define __bitwise __bitwise__
|
||||||
# else
|
# else
|
||||||
# define __bitwise
|
# define __bitwise
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define __u64 guint64
|
#define __u64 guint64
|
||||||
#define __u32 guint32
|
#define __u32 guint32
|
||||||
|
|
Loading…
Reference in a new issue