diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-09-20 09:10:08 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-20 22:07:24 +0200 |
commit | 0f59a997d97159ec3c5d3d900fd97d73983902e6 (patch) | |
tree | 3d777325ca1bc7d90bed46fb3d585b902d60b050 /src/include | |
parent | 8fc161a8ee3dc29e19bcf73387bda1fff627e817 (diff) |
Build ndpiReader and run regression tests.add/vs-proj-sln-and-ci-msbuild
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Signed-off-by: lns <matzeton@googlemail.com>
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_win32.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/ndpi_win32.h b/src/include/ndpi_win32.h index 3183b5d81..721ba48a4 100644 --- a/src/include/ndpi_win32.h +++ b/src/include/ndpi_win32.h @@ -38,7 +38,6 @@ #include <ws2tcpip.h> #include <process.h> #include <io.h> -#include <getopt.h> /* getopt from: http://www.pwilson.net/sample.html. */ #include <process.h> /* for getpid() and the exec..() family */ #include <stdint.h> #include <time.h> @@ -54,6 +53,12 @@ #define gettimeofday mingw_gettimeofday #endif +#ifdef _MSC_BUILD +#define strncasecmp _strnicmp +#define strcasecmp _stricmp +#define strdup _strdup +#endif + extern char* strsep(char **sp, char *sep); typedef unsigned char u_char; |