Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 21447 invoked by uid 500); 4 Jun 2003 18:56:12 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 21434 invoked from network); 4 Jun 2003 18:56:12 -0000 Message-ID: <1FE4AC40A0D4DA47B9E84CE8F266CB7F18206D@xsun04.ptp.hp.com> From: "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" To: dev@apr.apache.org Subject: RE: cvs commit: apr/test testdso.c Date: Wed, 4 Jun 2003 14:56:07 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >-----Original Message----- >From: Jeff Trawick [mailto:trawick@attglobal.net] [SNIP] >> So, what you're proposing is that APR provide mechanisms for >people to write >> platform-specific code? > >APR already does that. Exactly. There is already platform-specific code in APR (and I think it's impossible to have something like APR without introducing platform-specific code)..Further, I think it's purely a matter of code-beauty vs something else.. I don't understand why one would prefer "#if defined(__hpux) || defined(__hpux__) || defined (__or_something_else_)" as opposed to using "#ifdef APR_PLATFORM_IS_HPUX" - both of them are essentially the same. -Madhu