Mercurial > vim
diff src/vim.h @ 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 | afaff1d283d3 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -9,7 +9,7 @@ #ifndef VIM__H # define VIM__H -/* use fastcall for Borland, when compiling for Win32 (not for DOS16) */ +/* use fastcall for Borland, when compiling for Win32 */ #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) #if defined(FEAT_PERL) || \ defined(FEAT_PYTHON) || \ @@ -27,7 +27,7 @@ # endif #endif -#if defined(WIN32) || defined(_WIN64) || defined(__EMX__) +#if defined(WIN32) || defined(_WIN64) # include "vimio.h" #endif @@ -84,10 +84,6 @@ # define ROOT_UID 0 #endif -#ifdef __EMX__ /* hand-edited config.h for OS/2 with EMX */ -# include "os_os2_cfg.h" -#endif - /* * MACOS_CLASSIC compiling for MacOS prior to MacOS X * MACOS_X_UNIX compiling for MacOS X (using os_unix.c) @@ -252,7 +248,7 @@ # include "os_beos.h" #endif -#if (defined(UNIX) || defined(__EMX__) || defined(VMS)) \ +#if (defined(UNIX) || defined(VMS)) \ && (!defined(MACOS_X) || defined(HAVE_CONFIG_H)) # include "os_unix.h" /* bring lots of system header files */ #endif @@ -277,12 +273,6 @@ # include "auto/osdef.h" /* bring missing declarations in */ #endif -#ifdef __EMX__ -# define getcwd _getcwd2 -# define chdir _chdir2 -# undef CHECK_INODE -#endif - #ifdef AMIGA # include "os_amiga.h" #endif @@ -477,7 +467,7 @@ typedef unsigned long u8char_T; /* l #endif #if defined(HAVE_ERRNO_H) \ - || defined(WIN32) || defined(_WIN64) || defined(__EMX__) + || defined(WIN32) || defined(_WIN64) # include <errno.h> #endif @@ -1530,7 +1520,7 @@ typedef UINT32_TYPEDEF UINT32_T; * EMX doesn't have a global way of making open() use binary I/O. * Use O_BINARY for all open() calls. */ -#if defined(__EMX__) || defined(__CYGWIN32__) +#if defined(__CYGWIN32__) # define O_EXTRA O_BINARY #else # define O_EXTRA 0