hpdell 发表于 2019-1-14 09:51:43

请教下,移植 LwIP+uCOS,提示 errno 没有定义 ?

请教下,移植 LwIP+uCOS,提示 errno 没有定义 ?

是哪里没有配置好哇 ???

yklstudent-1794 发表于 2019-1-17 08:44:44

使用最新的LwIP了?

hpdell 发表于 2019-1-19 22:50:37

yklstudent-1794 发表于 2019-1-17 08:44
使用最新的LwIP了?

是的,不过,已经搞定了,是我忘记定义了,惭愧惭愧呀

yklstudent-1794 发表于 2019-1-20 19:46:22

hpdell 发表于 2019-1-19 22:50
是的,不过,已经搞定了,是我忘记定义了,惭愧惭愧呀

怎麽定義的?

hpdell 发表于 2019-2-24 13:40:18

yklstudent-1794 发表于 2019-1-20 19:46
怎麽定義的?

       
#defineLWIP_SOCKET_SET_ERRNO1//在 lwipopt.h 里面增加这个宏定义

#if defined(LWIP_SOCKET_SET_ERRNO) && defined(LWIP_PROVIDE_ERRNO)
        int errno;
        #endif

hpdell 发表于 2019-2-24 13:40:40

yklstudent-1794 发表于 2019-1-20 19:46
怎麽定義的?

       
#defineLWIP_SOCKET_SET_ERRNO1//在 lwipopt.h 里面增加这个宏定义

#if defined(LWIP_SOCKET_SET_ERRNO) && defined(LWIP_PROVIDE_ERRNO)
        int errno;
        #endif

yklstudent-1794 发表于 2019-2-25 20:13:14

好的,谢谢!
页: [1]
查看完整版本: 请教下,移植 LwIP+uCOS,提示 errno 没有定义 ?