diff options
Diffstat (limited to 'TSRM/TSRM.c')
| -rw-r--r-- | TSRM/TSRM.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index efdea5c880..df831f31b8 100644 --- a/TSRM/TSRM.c +++ b/TSRM/TSRM.c @@ -22,6 +22,10 @@ typedef struct _tsrm_tls_entry tsrm_tls_entry; +#if defined(TSRM_WIN32) +/* TSRMLS_CACHE_DEFINE; is already done in Zend, this is being always compiled statically. */ +#endif + struct _tsrm_tls_entry { void **storage; int count; @@ -791,4 +795,9 @@ void tsrm_error_set(int level, char *debug_filename) #endif } +TSRM_API inline void *tsrm_get_ls_cache(void) +{ + return tsrm_tls_get(); +} + #endif /* ZTS */ |
