Re: [Freeciv-Dev] patch: getting username (PR#109)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Andy Black wrote:
> At 5:34 AM -0700 8/16/99, David Pfitzner wrote:
> >- would it be useful to check for getpwuid() in configure?
> > (Eg, on Win/Mac?)
>
> That is a negative on the mac. As far as I can tell, there is no such
> function call (sorry).
Ok, so I'll add the configure check (and entry in config.mac.h)
and all will be fine.
(That is, without this func freeciv will still be able to use
getenv("USER"), or failing that a made up name (eg "name0");
its only used for the default player name anyway.)
-- David
|
|