stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r590081 - /incubator/stdcxx/trunk/src/file.cpp
Date Tue, 30 Oct 2007 14:30:45 GMT
Author: faridz
Date: Tue Oct 30 07:30:40 2007
New Revision: 590081

URL: http://svn.apache.org/viewvc?rev=590081&view=rev
Log:
2007-10-30 Farid Zaripov <farid_zaripov@epam.com>

	Merged r584989 from branches/4.2.0 with a fix for 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/trunk/src/file.cpp

Modified: incubator/stdcxx/trunk/src/file.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/file.cpp?rev=590081&r1=590080&r2=590081&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/file.cpp (original)
+++ incubator/stdcxx/trunk/src/file.cpp Tue Oct 30 07:30:40 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