diff options
author | Rob Crittenden <rcritten@redhat.com> | 2005-05-10 23:17:04 +0000 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2005-05-10 23:17:04 +0000 |
commit | b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def (patch) | |
tree | e082ba7d6108634404e6702994eab622cf4ca39e /lib/base/dnsdmain.cpp | |
parent | b95f9a9277761ecdd25b48314efd1e3797dc3b13 (diff) | |
download | ds-b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def.tar.gz ds-b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def.tar.xz ds-b03fcfc5fb3fa876b7ef4be45d90868b8f6e6def.zip |
Changes so DS can be built with gcc on Solaris.
Pass these build variables to gmake: NO_MDUPDATE=1 NS_USE_GCC=1
Diffstat (limited to 'lib/base/dnsdmain.cpp')
-rw-r--r-- | lib/base/dnsdmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/dnsdmain.cpp b/lib/base/dnsdmain.cpp index c974c2da..8a2ba133 100644 --- a/lib/base/dnsdmain.cpp +++ b/lib/base/dnsdmain.cpp @@ -70,7 +70,7 @@ extern int getdomainname(char *, size_t); #else extern int getdomainname(char *, int); #endif /* Linux */ -#if defined(HPUX) || defined (UnixWare) || defined(Linux) || defined(IRIX6_5) +#if defined(HPUX) || defined (UnixWare) || defined(Linux) || defined(IRIX6_5) || defined(SOLARIS_GCC) extern int gethostname (char *name, size_t namelen); #else #ifndef AIX |