Since we already rely on the utsname struct existing, and uname() is in
POSIX, drop the ifdef trickery around the call.
Signed-off-by: Steve Dickson <steved@redhat.com>
return ((CLIENT *) NULL);
}
tpconf = NULL;
-#if defined(__FreeBSD__)
- if (uname(&u) == -1)
-#else
-#if defined(i386)
- if (uname(&u) == -1)
-#elif defined(sparc)
- if (uname(&u) == -1)
-#else
-#error Unknown architecture!
-#endif
-#endif
- {
+ if (uname(&u) == -1) {
endnetconfig(localhandle);
return ((CLIENT *) NULL);
}