Mercurial > vim
view src/typemap @ 20205:83e196d484eb v8.2.0658
patch 8.2.0658: HP-UX build fails when setenv() is not defined
Commit: https://github.com/vim/vim/commit/affc8fd2cda77fbd47df2594da417a9f9a9bb9b6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 28 21:58:29 2020 +0200
patch 8.2.0658: HP-UX build fails when setenv() is not defined
Problem: HP-UX build fails when setenv() is not defined.
Solution: Change "colors" to "t_colors". (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Apr 2020 22:00:04 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")