summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginsharedmemory.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-07 11:29:17 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-07 11:29:17 +0800
commit62626f175b6549b62ba8538800957cab613b7ffa (patch)
treeae49288f13dae1b8189e0ac12a4e7f9c1cdabb82 /indra/llplugin/llpluginsharedmemory.cpp
parent4ff7678deb6832d39f3d7e1612ee6cf1ae24a76f (diff)
Implementations without shm_unlink can use APR
Diffstat (limited to 'indra/llplugin/llpluginsharedmemory.cpp')
-rw-r--r--indra/llplugin/llpluginsharedmemory.cpp2
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