8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 14:03:03 +01:00

Attempt to fix #8110 : Firebird 5 crash On Android API level 34

This commit is contained in:
Vlad Khorsun 2024-05-14 18:02:41 +03:00
parent 47ccf0fc82
commit 4ebfd8bb12

View File

@ -363,7 +363,7 @@ void setCloseOnExec(int fd)
{
if (fd >= 0)
{
while (fcntl(fd, F_SETFD, O_CLOEXEC) < 0 && SYSCALL_INTERRUPTED(errno))
while (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0 && SYSCALL_INTERRUPTED(errno))
;
}
}