Ethereal-dev: Re: [Ethereal-dev] dirent.h

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 13 Aug 2002 11:04:03 -0700
On Wed, Aug 14, 2002 at 02:32:37AM +0900, Motonori Shindo wrote:
> You may want to try (however, I haven't tried it myself yet:-))
> 
>   http://www.gimp.org/~tml/gimp/win32/dirent.zip
> 
> or try to find a bit old glib 1.3 for Win32. It's no longer on the web
> page above but someone on the Internet must have it.

No, that's not necessary.  <dirent.h> is included only if HAVE_DIRENT_H
is defined, and the config.h.win32 file in the epan directory does *not*
define it, and the config.h file, when building on Windows with MSVC++,
should have been copied from the config.h.win32 file.

However, if there's already a config.h file left around from UNIX,
Makefile.nmake won't do that copy; that's why, as per my other mail, you
need to run the "cleanbld.bat" batch file, to get rid of various
config.h files, so that they're regenerated from the config.h.win32
files.