Mercurial > vim
diff src/eval.c @ 8078:7676818d486b v7.4.1333
commit https://github.com/vim/vim/commit/f8df7addc5f741c16fa2a458f8777ac1fdf2e01e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 16 14:07:40 2016 +0100
patch 7.4.1333
Problem: Channel test fails on non-darwin builds.
Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Feb 2016 14:15:05 +0100 |
parents | e4c3f6720b03 |
children | b6cb94ad97a4 |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -13117,7 +13117,10 @@ f_has(typval_T *argvars, typval_T *rettv "mac", #endif #if defined(MACOS_X_UNIX) - "macunix", + "macunix", /* built with 'darwin' enabled */ +#endif +#if defined(__APPLE__) && __APPLE__ == 1 + "osx", /* built with or without 'darwin' enabled */ #endif #ifdef __QNX__ "qnx",