stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r584989 - /incubator/stdcxx/branches/4.2.0/src/file.cpp
Date Tue, 16 Oct 2007 01:04:30 GMT
Author: sebor
Date: Mon Oct 15 18:04:29 2007
New Revision: 584989

URL: http://svn.apache.org/viewvc?rev=584989&view=rev
Log:
2007-10-15  Martin Sebor  <sebor@roguewave.com>

	STDCXX-599
	* file.cpp [!_RWSTD_NO_PURE_C_HEADERS] (mkstemp): Relaxed a guard
	around a declaration of a POSIX (but not C) function to enable it
	in strict C++ environments (e.g., with EDG eccp).

Modified:
    incubator/stdcxx/branches/4.2.0/src/file.cpp

Modified: incubator/stdcxx/branches/4.2.0/src/file.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.0/src/file.cpp?rev=584989&r1=584988&r2=584989&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.0/src/file.cpp (original)
+++ incubator/stdcxx/branches/4.2.0/src/file.cpp Mon Oct 15 18:04:29 2007
@@ -69,7 +69,8 @@
 #endif   // _MSC_VER
 
 
-#if defined (_RWSTD_NO_MKSTEMP) && !defined (_RWSTD_NO_MKSTEMP_IN_LIBC)
+#if     defined (_RWSTD_NO_MKSTEMP) && !defined (_RWSTD_NO_MKSTEMP_IN_LIBC) \
+    || !defined (_RWSTD_NO_PURE_C_HEADERS)
 
 extern "C" {
 
@@ -82,7 +83,7 @@
 
 #  undef _RWSTD_NO_MKSTEMP
 
-#endif   // _RWSTD_NO_MKSTEMP[_IN_LIBC]
+#endif   // _RWSTD_NO_MKSTEMP[_IN_LIBC] || !_NO_PURE_C_HEADERS
 
 
 #if     defined (_RWSTD_NO_FILENO) && !defined (_RWSTD_NO_FILENO_IN_LIBC) \



Mime
View raw message