1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Export opcache shared globals (#15543)

This commit is contained in:
Florian Engelhardt
2024-08-26 14:54:36 +02:00
committed by GitHub
parent a3b7cc2217
commit b9b317afd4
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@
static const zend_shared_memory_handlers *g_shared_alloc_handler = NULL;
static const char *g_shared_model;
/* pointer to globals allocated in SHM and shared across processes */
zend_smm_shared_globals *smm_shared_globals;
ZEND_EXT_API zend_smm_shared_globals *smm_shared_globals;
#ifndef ZEND_WIN32
#ifdef ZTS

View File

@@ -119,7 +119,7 @@ typedef struct _zend_smm_shared_globals {
size_t reserved_size;
} zend_smm_shared_globals;
extern zend_smm_shared_globals *smm_shared_globals;
ZEND_EXT_API extern zend_smm_shared_globals *smm_shared_globals;
#define ZSMMG(element) (smm_shared_globals->element)