v4l2object: Don't redefine mmap64
On Linux, there exist a case where mmap64 is already a define to mmap, so avoid the redefine warning here.
This commit is contained in:
parent
4026211154
commit
80815c292a
@ -55,7 +55,7 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2_debug);
|
||||
|
||||
#define ENCODED_BUFFER_SIZE (2 * 1024 * 1024)
|
||||
|
||||
#if SIZEOF_OFF_T == 8
|
||||
#if SIZEOF_OFF_T == 8 && !defined(mmap64)
|
||||
#define mmap64 mmap
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user