summaryrefslogtreecommitdiffstats
path: root/include/ansidecl.h
diff options
context:
space:
mode:
authorcvs2svn <>2002-10-27 01:02:06 +0000
committercvs2svn <>2002-10-27 01:02:06 +0000
commit14904d36d8b412fa0ba01143473ad85602dc65b4 (patch)
tree7de343d72a57c2a16dcaf979bc44194fce6bcd92 /include/ansidecl.h
parentd1109236e2835bec428fd7779bdb9b673aeec7fb (diff)
downloadcygnal-14904d36d8b412fa0ba01143473ad85602dc65b4.tar.gz
cygnal-14904d36d8b412fa0ba01143473ad85602dc65b4.tar.bz2
cygnal-14904d36d8b412fa0ba01143473ad85602dc65b4.zip
This commit was manufactured by cvs2svn to create tagkseitz_interps-20021103-merge
'kseitz_interps-20021103-merge'. Sprout from drow-cplus-branch 2002-10-03 19:08:54 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'drow-cplus-' Cherrypick from master 2002-10-27 01:02:05 UTC DJ Delorie <dj@redhat.com> 'merge from gcc': ChangeLog Makefile.in Makefile.tpl configure.in include/ChangeLog include/ansidecl.h include/elf/ChangeLog include/elf/sh.h include/getopt.h include/opcode/ChangeLog include/opcode/cgen.h include/partition.h
Diffstat (limited to 'include/ansidecl.h')
-rw-r--r--include/ansidecl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ansidecl.h b/include/ansidecl.h
index 9a7c5777f..d169b4f50 100644
--- a/include/ansidecl.h
+++ b/include/ansidecl.h
@@ -136,10 +136,13 @@ So instead we use the macro below and test it against specific values. */
#define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)
#endif /* GCC_VERSION */
-#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32)
+#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32) || (defined(__alpha) && defined(__cplusplus))
/* All known AIX compilers implement these things (but don't always
define __STDC__). The RISC/OS MIPS compiler defines these things
in SVR4 mode, but does not define __STDC__. */
+/* eraxxon@alumni.rice.edu: The Compaq C++ compiler, unlike many other
+ C++ compilers, does not define __STDC__, though it acts as if this
+ was so. (Verified versions: 5.7, 6.2, 6.3, 6.5) */
#define ANSI_PROTOTYPES 1
#define PTR void *