Gianluca Varenni
cc1a80e41e
Fixes to compile WinPcap under MINGW32 and MINGW64.
2010-10-15 01:42:59 -07:00
test
04740b6647
Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile under cygwin.
...
cygwin finally ships with ws2tcpip.h, so we need to get rid of some duplicated definitions.
2009-07-16 15:46:55 -07:00
guy
0a9a829a65
malloc(strlen(X) + 1) followed by strcpy(result-of-malloc, str) is
...
equivalent to strdup(str); use that, so people don't freak out upon
seeing a strcpy() call that, out of context, looks as if it's not
buffer-overflow-safe.
2008-09-15 23:37:51 +00:00
gianluca
0cd5315734
Added the prototype for inet_aton().
2007-09-27 18:02:20 +00:00
gianluca
1cd243c972
Do not compile gai_strerrorA on Windows under MingW. gai_strerror is already
...
available on MingW, it's only missing from Cygwin.
2007-09-19 16:19:20 +00:00
gianluca
54693a0c07
Added an implementation of gai_strerror() for the compilation of libpcap.lib
...
and wpcap.dll under Cygnus and MingW32. The implementation is basically
taken from the FreeBSD sources.
2006-01-22 18:03:43 +00:00
guy
30e89f192a
Add _U_ to "rcsid[]" definitions, to eliminate "unused variable"
...
warnings from newer versions of GCC.
2003-11-15 23:23:57 +00:00
risso
6831542ec7
Added support for Win32, based on WinPcap.
2002-08-01 08:33:01 +00:00