[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: windows build needs gethostname ?

From: Conrad T. Pino
Subject: RE: windows build needs gethostname ?
Date: Mon, 22 Nov 2004 09:57:44 -0800

Hi Mark,

> From: Mark D. Baushke
> I am not sure of the right way to go about this.
> Would someone with a Windows machine see if adding gethostname
> to the build helps let cvs link again?

Doesn't look promising to me since Windows doesn't have "uname"
function and "HAVE_UNAME" macro is undefined.

Adding file resolves link errors but the operative code resulting
from conditional compile is

  strcpy (name, "");            /* Hardcode your system name if you want.  */

which doesn't look very useful to me.

> I thought there was a gethostname() function for Windows, but
> apparently the nightly test failed for lack of the funciton...

Not lack of the function, lack of "#include" with the protoype.

>       -- Mark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]