aboutsummaryrefslogtreecommitdiff
path: root/include/ansidecl.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-10-25 00:01:55 +0000
committerDJ Delorie <dj@redhat.com>2002-10-25 00:01:55 +0000
commit995a8435c81a947745d65bc17249a72e1c6c529d (patch)
tree0c3e609729e4709218f97a7383173ee9d639b5f6 /include/ansidecl.h
parentd45496c131d23aa2b79f3bc335472f224f812bd6 (diff)
downloadgdb-995a8435c81a947745d65bc17249a72e1c6c529d.zip
gdb-995a8435c81a947745d65bc17249a72e1c6c529d.tar.gz
gdb-995a8435c81a947745d65bc17249a72e1c6c529d.tar.bz2
merge from gcc
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 9a7c577..d169b4f 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 *