libevhtp
libevhtp copied to clipboard
compatible with mingw and Windows
There are many issues when running on mingw-w64:
- incorrect compilation options:
-fstack-protector-strong
and-march=i486
-
MIN
is not defined - missing
time.h
andws2tcpip.h
- missing macro check
EVHTP_DISABLE_REGEX
and on Windows:
- invalid headers:
unistd.h
,strings.h
- missing declare
__declspec(dllexport)
- misusing
DEPRECATED
macro - not implemented fnctions
strcasecmp
,strncasecmp
,SSIZE_T
,mempcpy
- colored log is superfluous
- incompatible macro:
bind__sock_port0_
- incompatible expression:
a ?: b
,char buffer[variable]
- missing
WSAStartup()
when using Windows socket API - missing
getopt
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.