mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix zts build on mac/clang
This commit is contained in:
parent
e5eb9530ab
commit
a9e86957c7
2 changed files with 2 additions and 2 deletions
|
@ -795,7 +795,7 @@ void tsrm_error_set(int level, char *debug_filename)
|
|||
#endif
|
||||
}
|
||||
|
||||
TSRM_API inline void *tsrm_get_ls_cache(void)
|
||||
TSRM_API void *tsrm_get_ls_cache(void)
|
||||
{
|
||||
return tsrm_tls_get();
|
||||
}
|
||||
|
|
|
@ -155,7 +155,7 @@ TSRM_API void *tsrm_new_interpreter_context(void);
|
|||
TSRM_API void *tsrm_set_interpreter_context(void *new_ctx);
|
||||
TSRM_API void tsrm_free_interpreter_context(void *context);
|
||||
|
||||
TSRM_API inline void *tsrm_get_ls_cache(void);
|
||||
TSRM_API void *tsrm_get_ls_cache(void);
|
||||
|
||||
#ifdef TSRM_WIN32
|
||||
# define TSRM_TLS __declspec(thread)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue