aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_api_vimdoc.py
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-11-26 21:26:56 -0500
committerJames McCoy <jamessan@jamessan.com>2017-11-28 18:07:51 -0500
commit8f91f2c9b47e6705e29da2fdbc9519092c757ba5 (patch)
treeeb74fe56bd4e88aeb5cf4c071941fd0dfefbde0f /scripts/gen_api_vimdoc.py
parent20bde8866e6a310f6fee6a6fcdb7546bac335944 (diff)
downloadrneovim-8f91f2c9b47e6705e29da2fdbc9519092c757ba5.tar.gz
rneovim-8f91f2c9b47e6705e29da2fdbc9519092c757ba5.tar.bz2
rneovim-8f91f2c9b47e6705e29da2fdbc9519092c757ba5.zip
Use defined(BSD) check when defining OPEN_CHR_FILES
Rather than enumerate predefines for all BSD systems, just rely on the fact that they all "#define BSD" in sys/param.h. Debian's GNU/kFreeBSD still requires its own check, since it isn't using the BSD userspace. References: OpenBSD - https://github.com/openbsd/src/blob/210ebf9df0460bbdad02da9bbd5d859b61f57462/sys/sys/param.h#L40 FreeBSD - https://github.com/freebsd/freebsd/blob/f5d95e1f8d32db4ccccfd5ad9cecb21ed07a695d/sys/sys/param.h#L43 NetBSD - https://github.com/NetBSD/src/blob/ea620980793cf2011e5424f4a537b0488e3ffb4d/sys/sys/param.h#L49 DragonFlyBSD - https://github.com/DragonFlyBSD/DragonFlyBSD/blob/94ecf1295bb42b59772448d58ff40dd75c4a3ef8/sys/sys/param.h#L41 vim-patch:8.0.1357
Diffstat (limited to 'scripts/gen_api_vimdoc.py')
0 files changed, 0 insertions, 0 deletions