dosgo / ngrok-c

ngrok client for c language,Due to the use of GO ngrok language development, porting to embedded devices some inconvenience, such as openwrt, so use C language rewrite a client. Very mini, the need to support polarssl library.
MIT License
496 stars 203 forks source link

只有当ISMBEDTLS未在编译参数中定义的情况下才在头文件中定义ISMBEDTLS #6

Closed maz-1 closed 8 years ago

maz-1 commented 8 years ago

这样就可以在makefile里指定宏的值 建议以后需要添加的宏都加上ifndef判断

另,打算删掉那两个Makefile,加入CMakeList.txt使用cmake来管理,并且把openwrt的makefile包括进来(便于新手使用),不知意下如何(cmake个人觉得用来管理源码还是相当方便的,而且openwrt编译环境也支持cmake)

dosgo commented 8 years ago

可以啊。。你决定。。

dosgo commented 8 years ago

@maz-1 昨晚那个版本有个低级溢出错误,今天更新了。。