develooper Front page | perl.perl5.porters | Postings from July 2003

Re: Which platforms need symbols to export to be explicitly listed?

From:
Steve Hay
Date:
July 30, 2003 10:14
Subject:
Re: Which platforms need symbols to export to be explicitly listed?
Message ID:
3F27FD64.1050706@uk.radan.com
Steve Hay wrote:

> So, something more like this, then:
>
> #if PERL_REVISION == 5 && \
>    (PERL_VERSION == 8 && PERL_SUBVERSION == 0  && \
>        !(defined(WIN32) || defined(NETWARE) || defined(OS2) || \
>          defined(_AIX) || defined(MACOS_TRADITIONAL) || defined(VMS))) 
> || \
>    (PERL_VERSION == 8 && PERL_SUBVERSION >= 1) || \
>    (PERL_VERSION >= 9)
> #define _HAVE_ISUTF8
> #endif

Oops!  Missed one set of brackets.  That should have been:

#if PERL_REVISION == 5 && \
   ((PERL_VERSION == 8 && PERL_SUBVERSION == 0  && \
        !(defined(WIN32) || defined(NETWARE) || defined(OS2) || \
          defined(_AIX) || defined(MACOS_TRADITIONAL) || defined(VMS))) || \
    (PERL_VERSION == 8 && PERL_SUBVERSION >= 1) || \
    (PERL_VERSION >= 9))
#define _HAVE_ISUTF8
#endif





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About