summaryrefslogtreecommitdiff
path: root/dbm
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-10-12 01:32:28 +0000
committerwtc%netscape.com <devnull@localhost>2001-10-12 01:32:28 +0000
commit7eb24be7675e848d92b93223c1627f6c05621b4b (patch)
tree688ca92e8a2a060654c8ed64d5d7baa314dc84cc /dbm
parente047592a35d29432be145d321583dcf3e9b8eef8 (diff)
downloadnss-hg-7eb24be7675e848d92b93223c1627f6c05621b4b.tar.gz
Bugzilla bug 103881: restored the protection for the redefinition of
macro '__const'. <sys/stdsyms.h> on HP-UX 11.00 defines '__const'.
Diffstat (limited to 'dbm')
-rw-r--r--dbm/include/cdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbm/include/cdefs.h b/dbm/include/cdefs.h
index 43ab6ba90..63c2f624a 100644
--- a/dbm/include/cdefs.h
+++ b/dbm/include/cdefs.h
@@ -97,7 +97,10 @@
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
+/* On HP-UX 11.00, <sys/stdsyms.h> defines __const. */
+#ifndef __const
#define __const const /* define reserved names to standard */
+#endif /* __const */
#define __signed signed
#define __volatile volatile
#ifndef _WINDOWS