Skip to content

Commit

Permalink
Bugzilla bug 103881: restored the protection for the redefinition of
Browse files Browse the repository at this point in the history
macro '__const'.  <sys/stdsyms.h> on HP-UX 11.00 defines '__const'.
  • Loading branch information
wtc%netscape.com committed Oct 12, 2001
1 parent ee93895 commit 1da235b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dbm/include/cdefs.h
Expand Up @@ -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
Expand Down

0 comments on commit 1da235b

Please sign in to comment.