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: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > 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....) >
