0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00
termux-packages/packages/libv4l/lib-libv4lconvert-control-libv4lcontrol.c.patch
2022-12-03 08:54:56 +00:00

12 lines
368 B
Diff

--- a/lib/libv4lconvert/control/libv4lcontrol.c
+++ b/lib/libv4lconvert/control/libv4lcontrol.c
@@ -715,7 +715,7 @@
if (shm_name[i] == '/')
shm_name[i] = '-';
-#ifndef ANDROID
+#ifndef __ANDROID__
/* Open the shared memory object identified by shm_name */
shm_fd = shm_open(shm_name, (O_CREAT | O_EXCL | O_RDWR), (S_IREAD | S_IWRITE));
if (shm_fd >= 0)