diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-07 11:29:17 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-07 11:29:17 +0800 |
commit | 62626f175b6549b62ba8538800957cab613b7ffa (patch) | |
tree | ae49288f13dae1b8189e0ac12a4e7f9c1cdabb82 | |
parent | 4ff7678deb6832d39f3d7e1612ee6cf1ae24a76f (diff) |
Implementations without shm_unlink can use APR
-rw-r--r-- | indra/llplugin/llpluginsharedmemory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginsharedmemory.cpp b/indra/llplugin/llpluginsharedmemory.cpp index c4e70f51e0..3204bbd715 100644 --- a/indra/llplugin/llpluginsharedmemory.cpp +++ b/indra/llplugin/llpluginsharedmemory.cpp @@ -45,6 +45,8 @@ #define USE_WIN32_SHARED_MEMORY 1 #elif LL_DARWIN #define USE_SHM_OPEN_SHARED_MEMORY 1 +#elif _POSIX_SHARED_MEMORY_OBJECTS == -1 + #define USE_APR_SHARED_MEMORY 1 #elif LL_LINUX #define USE_SHM_OPEN_SHARED_MEMORY 1 #elif LL_FREEBSD |