Merge branch 'PHP-7.4'

* PHP-7.4:
  This reverts 0e5d4ea555 to fix the build on MacOSX
This commit is contained in:
Joe Watkins 2019-06-11 15:15:31 +02:00
commit 5fd027e35c
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E

View file

@ -139,15 +139,11 @@ 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
#else
#ifdef TSRM_WIN32
# define TSRM_TLS __declspec(thread)
#else
# define TSRM_TLS __thread
#endif
#endif
#define TSRM_SHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)+1)
#define TSRM_UNSHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)-1)