Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 5.0.8-test-2



Jun T. wrote on Sat, Aug 22, 2015 at 20:48:47 +0900:
> -#ifdef USE_DEV_PTMX
> +#if defined(USE_DEV_PTMX) && !defined(__OpenBSD__)

Wouldn't it be better to change configure to avoid defining the macro in
the first place on OpenBSD?  This would matter if more uses of
USE_DEV_PTMX in C file are added: the knowledge that "don't USE_DEV_PTMX
on OpenBSD" should be consolidated in one place.

IIRC $OSTYPE is the variable to test.



Messages sorted by: Reverse Date, Date, Thread, Author