Ethereal-dev: [Ethereal-dev] RE: Ethereal-dev digest, Vol 1 #1036 - 1 msg

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

From: "Georg Hellack" <hellack@xxxxxxxxxxxxxxxxx>
Date: Thu, 4 Jul 2002 23:50:42 +0200
Hi,

VC++ has _isatty() defined in io.h. So I added the underscore before
isatty() and replaced the unistd.h include by io.h as a quick solution.

Best regards,

Georg Hellack
GHF automation GmbH

> From: andreas.sikkema@xxxxxxxxxxx
> To: ethereal-dev@xxxxxxxxxxxx
> Date: Thu, 4 Jul 2002 17:05:33 +0200
> Subject: [Ethereal-dev] Problems compiling 0.9.5 with VC++ 6
>
> Hi,
>
> I can compile 0.9.3 on VC++, want to try 0.9.5. Copied
> the settings from one config.nmake to another, ran
> cleanbld.bat, ran vcvars32.bat, ran nmake -f Makefile.nmake
> and I get the following error:
> ...
> scanner.c(1512) : error C4013: 'isatty' undefined; assuming extern
> ...
> "Can not find file 'unistd.h'"
>
> Does anyone have success with VC++ (well, there is a win32
> binary on the site so....)
>