Skip to content

Commit 7d5e2e5

Browse files
committed
Enable Posix Shared Memory on Linux
1 parent 54ef8d1 commit 7d5e2e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/zend_shared_alloc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
# define USE_MMAP 1
3434
# endif
3535
#elif defined(__linux__) || defined(_AIX)
36+
# ifdef HAVE_SHM_MMAP_POSIX
37+
# define USE_SHM_OPEN 1
38+
# endif
3639
# ifdef HAVE_SHM_IPC
3740
# define USE_SHM 1
3841
# endif

0 commit comments

Comments
 (0)