Commit ae71779
committed
Fix Windows x86 build for ext/ffi
PR php#16351 introduced `EnumProcessModules()` calls, but this function is
undefined; thus, the compiler mangles the name according to the default
calling convention. This lets linking succeed for x64, but fail for
x86.
To properly fix this, we include <Psapi.h> where the function is
declared.1 parent d19fdaa commit ae71779
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2975 | 2975 | | |
2976 | 2976 | | |
2977 | 2977 | | |
| 2978 | + | |
2978 | 2979 | | |
2979 | 2980 | | |
2980 | 2981 | | |
| |||
0 commit comments