comparison src/option.c @ 9536:b2aada04d84e v7.4.2048

commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 16 14:47:36 2016 +0200 patch 7.4.2048 Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Jul 2016 15:00:07 +0200
parents bdac1019552f
children fd9727ae3c49
comparison
equal deleted inserted replaced
9535:eb813d0c8346 9536:b2aada04d84e
2002 (char_u *)&p_path, PV_PATH, 2002 (char_u *)&p_path, PV_PATH,
2003 { 2003 {
2004 #if defined(AMIGA) || defined(MSWIN) 2004 #if defined(AMIGA) || defined(MSWIN)
2005 (char_u *)".,,", 2005 (char_u *)".,,",
2006 #else 2006 #else
2007 # if defined(__EMX__)
2008 (char_u *)".,/emx/include,,",
2009 # else /* Unix, probably */
2010 (char_u *)".,/usr/include,,", 2007 (char_u *)".,/usr/include,,",
2011 # endif
2012 #endif 2008 #endif
2013 (char_u *)0L} SCRIPTID_INIT}, 2009 (char_u *)0L} SCRIPTID_INIT},
2014 #if defined(DYNAMIC_PERL) 2010 #if defined(DYNAMIC_PERL)
2015 {"perldll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE, 2011 {"perldll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2016 (char_u *)&p_perldll, PV_NONE, 2012 (char_u *)&p_perldll, PV_NONE,
2342 #endif 2338 #endif
2343 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT}, 2339 {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT},
2344 {"shellxquote", "sxq", P_STRING|P_VI_DEF|P_SECURE, 2340 {"shellxquote", "sxq", P_STRING|P_VI_DEF|P_SECURE,
2345 (char_u *)&p_sxq, PV_NONE, 2341 (char_u *)&p_sxq, PV_NONE,
2346 { 2342 {
2347 #if defined(UNIX) && defined(USE_SYSTEM) && !defined(__EMX__) 2343 #if defined(UNIX) && defined(USE_SYSTEM)
2348 (char_u *)"\"", 2344 (char_u *)"\"",
2349 #else 2345 #else
2350 (char_u *)"", 2346 (char_u *)"",
2351 #endif 2347 #endif
2352 (char_u *)0L} SCRIPTID_INIT}, 2348 (char_u *)0L} SCRIPTID_INIT},
3182 * Find default value for 'shell' option. 3178 * Find default value for 'shell' option.
3183 * Don't use it if it is empty. 3179 * Don't use it if it is empty.
3184 */ 3180 */
3185 if (((p = mch_getenv((char_u *)"SHELL")) != NULL && *p != NUL) 3181 if (((p = mch_getenv((char_u *)"SHELL")) != NULL && *p != NUL)
3186 #if defined(MSWIN) 3182 #if defined(MSWIN)
3187 # ifdef __EMX__
3188 || ((p = mch_getenv((char_u *)"EMXSHELL")) != NULL && *p != NUL)
3189 # endif
3190 || ((p = mch_getenv((char_u *)"COMSPEC")) != NULL && *p != NUL) 3183 || ((p = mch_getenv((char_u *)"COMSPEC")) != NULL && *p != NUL)
3191 # ifdef WIN3264 3184 # ifdef WIN3264
3192 || ((p = (char_u *)default_shell()) != NULL && *p != NUL) 3185 || ((p = (char_u *)default_shell()) != NULL && *p != NUL)
3193 # endif 3186 # endif
3194 #endif 3187 #endif