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+ proto_tree_add_item

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: Sun, 29 Aug 2004 15:24:06 -0700
Gisle Vanem wrote:

I guess it's because WIN32 isn't a built-in in MSVC (in some
cases?). But _WIN32 always is.

Is there any compelling reason not to replace all tests of WIN32 with tests of _WIN32 in Ethereal? (We already test _WIN32 in a number of places.) Does _WIN32 get defined by Mingw32 also? (What about Cygwin?)