mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4:
This reverts 0e5d4ea555
to fix the build on MacOSX
This commit is contained in:
commit
5fd027e35c
1 changed files with 3 additions and 7 deletions
10
TSRM/TSRM.h
10
TSRM/TSRM.h
|
@ -139,14 +139,10 @@ TSRM_API size_t tsrm_get_ls_cache_tcb_offset(void);
|
|||
TSRM_API uint8_t tsrm_is_main_thread(void);
|
||||
TSRM_API const char *tsrm_api_name(void);
|
||||
|
||||
#if defined(__cplusplus) && __cplusplus > 199711L
|
||||
# define TSRM_TLS thread_local
|
||||
#ifdef TSRM_WIN32
|
||||
# define TSRM_TLS __declspec(thread)
|
||||
#else
|
||||
# ifdef TSRM_WIN32
|
||||
# define TSRM_TLS __declspec(thread)
|
||||
# else
|
||||
# define TSRM_TLS __thread
|
||||
# endif
|
||||
# define TSRM_TLS __thread
|
||||
#endif
|
||||
|
||||
#define TSRM_SHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)+1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue