1 --- php-8.1.4/TSRM/TSRM.h.orig 2022-03-15 21:18:41.000000000 +0000
2 +++ php-8.1.4/TSRM/TSRM.h 2022-03-22 20:07:56.044769647 +0000
4 # define __has_attribute(x) 0
7 -#if !__has_attribute(tls_model) || defined(__FreeBSD__) || defined(__MUSL__) || defined(__HAIKU__)
8 +#if !__has_attribute(tls_model) || defined(__FreeBSD__) || defined(__MUSL__) || defined(__HAIKU__) || defined(__solaris__)
9 # define TSRM_TLS_MODEL_ATTR
11 # define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("initial-exec")))