merge from gcc
authorDJ Delorie <dj@redhat.com>
Fri, 25 Oct 2002 00:01:55 +0000 (00:01 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 25 Oct 2002 00:01:55 +0000 (00:01 +0000)
include/ChangeLog
include/ansidecl.h

index d7564ef9ef1df640eb178214b567604a98fb4f16..dbbf4a406a0d92e4189b2039e9c3f11d6e0e1efd 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-24  Nathan Tallent  <eraxxon@alumni.rice.edu>
+
+       * ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
+       list of platform compilers that may look, smell and act
+       like __STDC__ but that may not define it.
+
 2002-10-11  David O'Brien  <obrien@FreeBSD.org>
 
        * getopt.h: getopt is in unistd.h (based on SUSv2).
index 9a7c5777ff2ece9641045ce4a6b6b90e93b3b3c7..d169b4f50ed6c8d7b0e17e2b94888c67461e9750 100644 (file)
@@ -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 *
This page took 0.047193 seconds and 4 git commands to generate.