19 Nov
2002
19 Nov
'02
6:07 p.m.
Martin Wilck <Martin.Wilck(a)fujitsu-siemens.com> writes:
Very true. Perhaps the practical way would be to assume HAVE_GETPWUID == HAVE_GETPWNAM and see whether someone with a really strange platform complains (but see below).
There's no reason to do that, it's trivial to check for both. If you use getpwnam() check for HAVE_GETPWNAM, if you use getpwuid() check for HAVE_GETPWUID. Simple, logical, and works even on strange platforms. -- Alexandre Julliard julliard(a)winehq.com