You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/10/16 03:04:30 UTC
svn commit: r584989 - /incubator/stdcxx/branches/4.2.0/src/file.cpp
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 <se...@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) \