...strcmp((*((node_t *)a))->key,(*((node_t *)b))->key); } #else #ifdef WIN32 static int _xtree_node_cmp(node_t *a, node_t *b) #else static int _xtree_node_cmp(a, b) node_t *a, *b; #endif { return strcmp((*a)->key, (*b)->key); } #endif 2、pool.h里char block[0]改为char block[] /* data...
前几天在一台32位的linux上成功安装了scws 1.1.1版本,今天看到发布了1.1.2的版本,就在一台64位的机器上准备安装。依然遵循1.1.1版本的安装步骤,却发现出错了: 看代码: [code] [root@localhost phpext]# ./configure --with-scws=/usr/local/scws...
[code]loading@opensuse:~/Downloads/scws/scws-1.2.1/phpext> ./configure --with-scws=/usr/local/scws --with-php-config=/usr/bin/php-config configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... ...
... define('SCWS_MULTI_SHORT', 1); define('SCWS_MULTI_DUALITY', 2); define('SCWS_MULTI_ZMAIN', 4); define('SCWS_MULTI_ZALL', 8); } if (!defined('SCWS_XDICT_XDB')) { define('SCWS_XDICT_XDB', 1); define('SCWS_XDICT_MEM', 2); ...