diff options
author | wtc%netscape.com <devnull@localhost> | 2001-10-12 01:32:28 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-10-12 01:32:28 +0000 |
commit | 7eb24be7675e848d92b93223c1627f6c05621b4b (patch) | |
tree | 688ca92e8a2a060654c8ed64d5d7baa314dc84cc /dbm | |
parent | e047592a35d29432be145d321583dcf3e9b8eef8 (diff) | |
download | nss-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.h | 3 |
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 |