[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    Re: [PATCH h2xs] Use of static data in XS modules
From:       Nicholas Clark <nick () ccl4 ! org>
Date:       2001-10-30 17:26:56
[Download RAW message or body]

On Tue, Oct 30, 2001 at 07:18:46PM +0200, Jarkko Hietaniemi wrote:
> It seems that quite a few modules have various portability stuff
> in them: Storable, List::Util, and I guess DBI too.  Time to
> collect all that into one place?

ExtUtils::Constant has:

  push @lines, << 'EOT';


#ifndef NVTYPE
typedef double NV; /* 5.6 and later define NVTYPE, and typedef NV to it.  */
#endif
#ifndef aTHX_
#define aTHX_ /* 5.6 or later define this for threading support.  */
#endif
#ifndef pTHX_
#define pTHX_ /* 5.6 or later define this for threading support.  */
#endif
EOT


so that's another.

Nicholas Clark

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic