stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r583990 - /incubator/stdcxx/trunk/src/file.cpp
Date Fri, 12 Oct 2007 00:05:01 GMT
Author: sebor
Date: Thu Oct 11 17:05:00 2007
New Revision: 583990

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

	STDCXX-589
	* file.cpp [!_RWSTD_NO_PURE_C_HEADERS] (fileno): Relaxed a guard
	around a declaration.

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=583990&r1=583989&r2=583990&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/file.cpp (original)
+++ incubator/stdcxx/trunk/src/file.cpp Thu Oct 11 17:05:00 2007
@@ -1,6 +1,6 @@
 /**************************************************************************
  *
- * support.cpp - definition of support functions and objects
+ * file.cpp - definition of file I/O helper functions
  *
  * $Id$
  *
@@ -22,7 +22,7 @@
  * implied.   See  the License  for  the  specific language  governing
  * permissions and limitations under the License.
  *
- * Copyright 1994-2005 Rogue Wave Software.
+ * Copyright 2002-2005, 2007 Rogue Wave Software, Inc.
  * 
  **************************************************************************/
 
@@ -85,7 +85,8 @@
 #endif   // _RWSTD_NO_MKSTEMP[_IN_LIBC]
 
 
-#if defined (_RWSTD_NO_FILENO) && !defined (_RWSTD_NO_FILENO_IN_LIBC)
+#if     defined (_RWSTD_NO_FILENO) && !defined (_RWSTD_NO_FILENO_IN_LIBC) \
+    || !defined (_RWSTD_NO_PURE_C_HEADERS)
 
 // declare fileno in case it's not declared (for strict ANSI conformance)
 extern "C" {
@@ -96,7 +97,7 @@
 
 }   // extern "C"
 
-#endif   // _RWSTD_NO_FILENO && !_RWSTD_NO_FILENO_IN_LIBC
+#endif   // _NO_FILENO && !_NO_FILENO_IN_LIBC || !_NO_PURE_C_HEADERS
 
 
 _RWSTD_NAMESPACE (__rw) {



Mime
View raw message