We used a brute force approach. Make the following code into a .c file,
and include it in your program. At the start of main(), catll ctSetup()....
linux 9.0版本下informix esql编译报错解决:
We used a brute force approach. Make the following code into a .c file,
and include it in your program. At the start of main(), catll ctSetup().
Make sure you compile statically or else the dynamic loader will cause
problems.(此处强调编译时必须使用esql -static参数)
I've seen others use macros, but this worked good enough for us...
#include
__const unsigned short int *__ctype_b;
__const __int32_t *__ctype_tolower;
__const __int32_t *__ctype_toupper;
void ctSetup()
{
__ctype_b = *(__ctype_b_loc());
__ctype_toupper = *(__ctype_toupper_loc());
__ctype_tolower = *(__ctype_tolower_loc());
}
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- Linux集群技术 (8259篇文章)
- informix (196篇文章)
- 体验Linux的音影世界 (7931篇文章)
- Linux驱动大全 (8729篇文章)
- Linux下的路由的配置与应用 (11721篇文章)
- Linux命令简介 (9775篇文章)
- Linux防火墙 (9606篇文章)
- Linux日志专题 (8383篇文章)
- Linux服务器的安全性能 (20291篇文章)
- 揭秘Linux内存管理 (7995篇文章)
- 在Windows中使用Cygwin环境下的gcc编译器编 (1544次浏览)
- Informix入门之---SQL函数整理 (913次浏览)
- Informix-SPL(过程)语法详解 (846次浏览)
- 我找到的INFORMIX 培训教材 (648次浏览)
- Informix SQL语句详解(1) (622次浏览)
- red hat linux 9.0版本下informix esql编译 (551次浏览)
- INFORMIX-4GL实用手册 (546次浏览)
- INFORMIX-4GL实用手册(二)(2) (539次浏览)
- Informix 高级培训教材(三) (530次浏览)
- 影响CPU使用率的配置参数和环境变量(转) (482次浏览)



