Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 29640 invoked from network); 12 Oct 2007 00:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 00:05:23 -0000 Received: (qmail 37714 invoked by uid 500); 12 Oct 2007 00:05:11 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 37697 invoked by uid 500); 12 Oct 2007 00:05:11 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 37686 invoked by uid 99); 12 Oct 2007 00:05:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 17:05:11 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 00:05:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EE5931A983A; Thu, 11 Oct 2007 17:05:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r583990 - /incubator/stdcxx/trunk/src/file.cpp Date: Fri, 12 Oct 2007 00:05:01 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071012000501.EE5931A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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) {