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.