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
|
@ -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 uint8_t tsrm_is_main_thread(void);
|
||||||
TSRM_API const char *tsrm_api_name(void);
|
TSRM_API const char *tsrm_api_name(void);
|
||||||
|
|
||||||
#if defined(__cplusplus) && __cplusplus > 199711L
|
#ifdef TSRM_WIN32
|
||||||
# define TSRM_TLS thread_local
|
|
||||||
#else
|
|
||||||
# ifdef TSRM_WIN32
|
|
||||||
# define TSRM_TLS __declspec(thread)
|
# define TSRM_TLS __declspec(thread)
|
||||||
# else
|
#else
|
||||||
# define TSRM_TLS __thread
|
# define TSRM_TLS __thread
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TSRM_SHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)+1)
|
#define TSRM_SHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)+1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue