> Well, it's a mystery.

:-)

> The only other thing I can think of is if somehow
> _POSIX_C_SOURCE or _XOPEN_SOURCE are being defined when Configure compiles
> try.c (and union semun would not be defined in sys/sem.h as per POSIX), but
> when miniperlmain.c compiles, those macros aren't defined, so union semun is
> visible in sys/sem.h, but by that time HAS_UNION_SEMUN has been define, so
> union semun gets redefined.

possibly ... checking, neither _POSIX_C_SOURCE or _XOPEN_SOURCE are
def'd in perl's config.h

either way, for now, my workaround (adding the option to config) seems
to work -- and, afaict, causes no harm.

thanks for the help.

Reply via email to