Author: sebor
Date: Fri Jul 20 13:23:15 2007
New Revision: 558120

URL: http://svn.apache.org/viewvc?view=rev&rev=558120
Log:
2007-07-20  Martin Sebor  <[EMAIL PROTECTED]>

        * testdefs.h (__PURE_CNAME): Undefined the Compaq C++ macro #defined
        in response to the -std strict_ansi_errors compiler option in order
        to allow C++ extensions (such POSIX names) to be declared by C++ libc
        headers when building the test driver.

Modified:
    incubator/stdcxx/trunk/tests/include/testdefs.h

Modified: incubator/stdcxx/trunk/tests/include/testdefs.h
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/include/testdefs.h?view=diff&rev=558120&r1=558119&r2=558120
==============================================================================
--- incubator/stdcxx/trunk/tests/include/testdefs.h (original)
+++ incubator/stdcxx/trunk/tests/include/testdefs.h Fri Jul 20 13:23:15 2007
@@ -31,6 +31,14 @@
 
 #include <rw/_defs.h>
 
+#ifdef _RWSTD_TEST_SRC
+   // #undef-ine the Compaq C++ macro #defined in response to
+   // the -std strict_ansi_errors compiler option in order to
+   // allow C++ extensions (such POSIX names) to be declared
+   // by C++ libc headers when building the test driver
+#  undef __PURE_CNAME
+#endif   // _RWSTD_TEST_SRC
+
 
 #if    (defined (_WIN32) || defined (_WIN64)) \
     && (defined (RWDLL) || defined (_RWSHARED))


Reply via email to