diff --git a/third_party/host_memory/host_memory.cpp b/third_party/host_memory/host_memory.cpp index 979e7cb80..8ae0d8574 100644 --- a/third_party/host_memory/host_memory.cpp +++ b/third_party/host_memory/host_memory.cpp @@ -442,9 +442,9 @@ namespace Common { // XXX Drop after FreeBSD 12.* reaches EOL on 2024-06-30 fd = shm_open(SHM_ANON, O_RDWR, 0600); #elif defined(__ANDROID__) - fd = memfd_create("HostMemory", 0); -#else fd = ASharedMemory_create("HostMemory", 0); +#else + fd = memfd_create("HostMemory", 0); #endif #ifdef USING_FD