Committed revision 27212. Toralf Förster wrote: > Hi, > > I'm wondering, why within dumpcap the ifdef _WIN32 is handle in 2 different > ways within the same source file or - OTOH - should the patch below be > applied ? : > > tfoer...@n22 ~/devel/wireshark $ svn diff --diff-cmd diff dumpcap.c > Index: dumpcap.c > =================================================================== > --- dumpcap.c (revision 27209) > +++ dumpcap.c (working copy) > @@ -2332,10 +2332,9 @@ > > #ifdef _WIN32 > WSADATA wsaData; > -#endif /* _WIN32 */ > -#ifndef _WIN32 > +#else > struct sigaction action, oldaction; > -#endif > +#endif /* _WIN32 */ > > gboolean start_capture = TRUE; > gboolean stats_known; > >
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
