Commit 4a84367
PHP 8.0: define TSRMLS* macros as no-op
The TSRM* macros are no-op since PHP 7.0. PHP 8.0 drops them at all.
Define them as no-op in our code when building against PHP 8 and newer
to overcome a build fail. See [1] and [2] (1.c) for details.
Those macros could be removed from the code entirely (both definitions
and usages), since we support PHP 7.0+. It is to be done later.
[1]: https://wiki.php.net/rfc/native-tls
[2]: https://github.com/php/php-src/blob/php-8.0.18RC1/UPGRADING.INTERNALS
Part of #1711 parent a631b56 commit 4a84367
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
0 commit comments