Ethereal-dev: RE: [Ethereal-dev] [CYGWIN]Build hints

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Fri, 14 Nov 2003 06:20:24 +0100
Hi List!

To make the confusion complete, I had a look at the header files, shipped with my cygwin version (latest update a few days ago).

The windows.h header will under some circumstances include windef.h, which will:

#ifndef WIN32
#define WIN32
#endif
#ifndef _WIN32
#define _WIN32
#endif

So even if you are using compiler switches (or not), this defines might be set.

Yes, I know, win32 programming is sometimes very ugly...

Regards, ULFL