stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r427384 - /incubator/stdcxx/trunk/util/exec.cpp
Date Tue, 01 Aug 2006 00:22:34 GMT
Author: sebor
Date: Mon Jul 31 17:22:33 2006
New Revision: 427384

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

	* exec.cpp (__PURE_CNAME): Defined prior to #including any system
	headers in order to prevent Compaq/HP C++ from using its "pure"
	libc headers and to get it to define POSIX symbols such as SIGABRT
	or SIGKILL.

Modified:
    incubator/stdcxx/trunk/util/exec.cpp

Modified: incubator/stdcxx/trunk/util/exec.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?rev=427384&r1=427383&r2=427384&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Mon Jul 31 17:22:33 2006
@@ -24,6 +24,10 @@
  * 
  **************************************************************************/
 
+// disable Compaq/HP C++ pure libc headers to allow POSIX symbols
+// such as SIGALRM or SIGKILL to be defined
+#undef __PURE_CNAME
+
 #include <assert.h> /* for assert */
 #include <errno.h> /* for errno */
 #include <fcntl.h> /* for O_*, */



Mime
View raw message