1
0
forked from aniani/vim

patch 7.4.1333

Problem:    Channel test fails on non-darwin builds.
Solution:   Add the "osx" feature and test for that. (Kazunobu Kuriyama)
This commit is contained in:
Bram Moolenaar
2016-02-16 14:07:40 +01:00
parent acd58ef676
commit f8df7addc5
4 changed files with 9 additions and 3 deletions

View File

@@ -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",