mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue