libevhtp icon indicating copy to clipboard operation
libevhtp copied to clipboard

compatible with mingw and Windows

Open ygj6 opened this issue 4 years ago • 1 comments

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 and ws2tcpip.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

ygj6 avatar Apr 11 '20 14:04 ygj6

CLA assistant check
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.

CLAassistant avatar Nov 13 '20 13:11 CLAassistant