Only define HAVE_LCHOWN if it is not already defined. Fixes AIX NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Wed, 17 Jan 2001 05:10:53 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1668 6d6b300835a23f6f930d76904e703d6f7085e06c
parent 1663 310e844a1dc03976ef759845c5680ad714b2aebe
child 1670 190be4507b76e02255a4c247379ce41aa9917ca7
push idunknown
push userunknown
push dateunknown
Only define HAVE_LCHOWN if it is not already defined. Fixes AIX
config/nsinstall.c
--- a/config/nsinstall.c
+++ b/config/nsinstall.c
@@ -36,17 +36,19 @@
 #include <errno.h>
 #include <stdarg.h>
 #ifdef USE_REENTRANT_LIBC
 #include "libc_r.h"
 #endif /* USE_REENTRANT_LIBC */
 
 #include "pathsub.h"
 
+#ifndef HAVE_LCHOWN
 #define HAVE_LCHOWN
+#endif
 
 #if defined(AIX) || defined(BSDI) || defined(HPUX) || defined(LINUX) \
     || defined(SUNOS4) || defined(SCO) || defined(UNIXWARE) \
     || defined(RHAPSODY) || defined(NEXTSTEP) || defined(QNX) \
     || defined(BEOS) || defined(VMS)
 #undef HAVE_LCHOWN
 #endif