Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 5894 invoked from network); 11 Apr 2011 00:59:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 00:59:57 -0000 Received: (qmail 44244 invoked by uid 500); 11 Apr 2011 00:59:57 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 44198 invoked by uid 500); 11 Apr 2011 00:59:57 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 44191 invoked by uid 99); 11 Apr 2011 00:59:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 00:59:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 00:59:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0C2FA23889E0; Mon, 11 Apr 2011 00:59:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1090918 - /apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h Date: Mon, 11 Apr 2011 00:59:36 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110411005936.0C2FA23889E0@eris.apache.org> Author: fuankg Date: Mon Apr 11 00:59:35 2011 New Revision: 1090918 URL: http://svn.apache.org/viewvc?rev=1090918&view=rev Log: Avoid redefines. Modified: apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h Modified: apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h?rev=1090918&r1=1090917&r2=1090918&view=diff ============================================================================== --- apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h (original) +++ apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h Mon Apr 11 00:59:35 2011 @@ -18,19 +18,22 @@ #include -#ifndef __GNUC__ +#ifdef __MWERKS__ #pragma precompile_target "precomp.mch" #endif +#ifndef NETWARE #define NETWARE +#endif +#ifndef N_PLAT_NLM #define N_PLAT_NLM +#endif #define FAR #define far -/* no-op for Codewarrior C compiler; a functions are cdecl - by default */ +/* no-op for Codewarrior C compiler; all functions are cdecl by default */ #define cdecl /* if we have wchar_t enabled in C++, predefine this type to avoid