Commit 7ff28d3
committed
Update msgpack.c。貌似缺少一个头文件引入的判断
我们买了SAE的MAE,发现他们的PHP定制过,修改了PHP的Session模块。导致MsgPack编译会报错:
msgpack-0.5.5/msgpack.c:11:79: error: ext/session/php_session.h: No such file or directory
我们查看了msgpack.c的源码,发现所有用到session的地方鸟哥都加了#if HAVE_PHP_SESSION,唯有include头文件的时候没有加。
所以我们加上了这个判断。不知理解是否正确?1 parent 2eba69a commit 7ff28d3
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
0 commit comments