aliyun / iotkit-embedded

高速镜像: https://code.aliyun.com/linkkit/c-sdk
Apache License 2.0
497 stars 253 forks source link

SDK 3.0.1 版本自编译时 文件名称和函数名称容易与自身 SDK 中重复 #135

Closed jorislee closed 5 years ago

jorislee commented 5 years ago

例如 os.h 这个文件回和本身系统内的 os.h 重名, 导致编译出错. 是否可以将 SDK内文件名称定义更加特殊,不易冲突. 例如: os_zalloc 会与系统内的同名函数发生重定义. LIST_HEAD 与 LIST_INIT 会与系统内的同名函数发生重定义.