Re: [tcpdump-workers] gettimeofday() on Win32

2005-12-05 Thread Hannes Gredler
would'nt it make sense to guard your private gettimeofday() function with #if defined(_MSC_VER) || defined(_MSC_EXTENSIONS) || defined(__WATCOMC__) /hannes Gisle Vanem wrote: The recent (?) -G option requires gettimeofday() which isn't available on Win32. Attached is a patch to util.c which

Re: [tcpdump-workers] gettimeofday() on Win32

2005-12-05 Thread Guy Harris
(Blah blah blah wrong from address blah blah blah defeat duplicate message detection blah blah blah blah.) On Dec 3, 2005, at 8:07 AM, Gisle Vanem wrote: The recent (?) -G option requires gettimeofday() which isn't available on Win32. Attached is a patch to util.c which adds this

[tcpdump-workers] gettimeofday() on Win32

2005-12-03 Thread Gisle Vanem
The recent (?) -G option requires gettimeofday() which isn't available on Win32. Attached is a patch to util.c which adds this function. --gv --- tcpdump-2005.12.03/util.c Thu Jun 16 00:19:38 2005 +++ util.c Sat Dec 03 17:01:05 2005 @@ -526,3 +526,44 @@ else