stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r473128 - /incubator/stdcxx/trunk/tests/src/process.cpp
Date Thu, 09 Nov 2006 23:02:57 GMT
Author: sebor
Date: Thu Nov  9 15:02:56 2006
New Revision: 473128

URL: http://svn.apache.org/viewvc?view=rev&rev=473128
Log:
2006-11-09  Martin Sebor  <sebor@roguewave.com>

	* process.cpp: ( __PURE_CNAME): Undefined Compaq/C++ macro to allow
	POSIX errno constants such as EACCES to be #defined even in strict
	mode.

Modified:
    incubator/stdcxx/trunk/tests/src/process.cpp

Modified: incubator/stdcxx/trunk/tests/src/process.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/process.cpp?view=diff&rev=473128&r1=473127&r2=473128
==============================================================================
--- incubator/stdcxx/trunk/tests/src/process.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/process.cpp Thu Nov  9 15:02:56 2006
@@ -27,6 +27,10 @@
 // expand _TEST_EXPORT macros
 #define _RWSTD_TEST_SRC
 
+// disable Compaq/HP C++ pure libc headers to allow POSIX symbols
+// such as E2BIG to be defined
+#undef __PURE_CNAME
+
 #include <rw_process.h>
 
 #include <stddef.h>       // for size_t
@@ -35,7 +39,7 @@
 #include <string.h>       // for strchr()
 #include <ctype.h>        // for isspace()
 
-#include <errno.h>        // for errno
+#include <errno.h>        // for EACCES, errno
 
 #include <driver.h>       // for rw_note(), ...
 #include <rw_printf.h>    // for rw_fprintf()



Mime
View raw message