I have the following diff:

        term% diff ../../../openldap-2.3.32/include/ac/time.h ../../include/ac
        20c20
        < #if defined(TIME_WITH_SYS_TIME)
        ---
        > #if TIME_WITH_SYS_TIME
        23c23
        < #elif defined(HAVE_SYS_TIME_H)
        ---
        > #elif HAVE_SYS_TIME_H

and I'm curious whether it's a slip in the OpenLDAP source or in PCC
that the one works and the other doesn't.  I do not have an ANSI
standard to check against, but my gut feel is that OpenLDAP is
stretching a limit.  If not, then PCC ought to be corrected, it
reports (the "elsif" is certainly mistaken):

        cpp: ../../include/ac/time.h:20 csn.c:47 Syntax error in #if/#elsif

++L

Reply via email to