ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] capture_if_dlg.c has weird #if directive

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 28 Aug 2004 14:33:24 -0700
metatech wrote:

I replaced with #ifdef and it works fine now.

I've checked that in.

[For another reason I had to define explicitly WIN32 in pcap.h so that it compiles,

"It" meaning WinPcap, or "it" meaning Ethereal?

so might be the reason why I am the only one to see this compilation error.]

You probably just did "#define WIN32", rather than "#define WIN32 1", which is how it's defined in config.h.win32.