[php] Workaround PHP 8.2 header problem
We need to include php.h before stdio.h (and probably before most other libc headers).
This commit is contained in:
parent
55c95d475c
commit
246dd2d787
2 changed files with 8 additions and 2 deletions
|
|
@ -10,8 +10,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "php.h"
|
||||
|
||||
#if PHP_MAJOR_VERSION < 7
|
||||
# error These bindings need PHP 7 or later - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue