diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-23 14:53:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-23 14:53:34 +0100 |
commit | 48e330aff911be1c798c88a973af6437a8141fce (patch) | |
tree | 4945b46753c6220ae5e8cd406d139e5640bd39c4 /src/vim.h | |
parent | 4e221c99e85ed40c98892068a01270b9e7492d98 (diff) | |
download | vim-git-48e330aff911be1c798c88a973af6437a8141fce.tar.gz |
patch 7.4.1399v7.4.1399
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 26 |
1 files changed, 3 insertions, 23 deletions
@@ -27,8 +27,7 @@ # endif #endif -#if defined(MSDOS) || defined(WIN32) || defined(_WIN64) \ - || defined(__EMX__) +#if defined(WIN32) || defined(_WIN64) || defined(__EMX__) # include "vimio.h" #endif @@ -164,21 +163,6 @@ #ifdef WIN3264 # define VIM_SIZEOF_INT 4 #endif -#ifdef MSDOS -# ifdef DJGPP -# ifndef FEAT_GUI_GTK /* avoid problems when generating prototypes */ -# define VIM_SIZEOF_INT 4 /* 32 bit ints */ -# endif -# define DOS32 -# define FEAT_CLIPBOARD -# else -# ifndef FEAT_GUI_GTK /* avoid problems when generating prototypes */ -# define VIM_SIZEOF_INT 2 /* 16 bit ints */ -# endif -# define SMALL_MALLOC /* 16 bit storage allocation */ -# define DOS16 -# endif -#endif #ifdef AMIGA /* Be conservative about sizeof(int). It could be 4 too. */ @@ -303,10 +287,6 @@ # include "os_amiga.h" #endif -#ifdef MSDOS -# include "os_msdos.h" -#endif - #ifdef WIN3264 # include "os_win32.h" #endif @@ -462,11 +442,11 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */ #ifdef _DCC # include <sys/stat.h> #endif -#if defined(MSDOS) || defined(MSWIN) +#if defined(MSWIN) # include <sys/stat.h> #endif -#if defined(HAVE_ERRNO_H) || defined(DJGPP) \ +#if defined(HAVE_ERRNO_H) \ || defined(WIN32) || defined(_WIN64) || defined(__EMX__) # include <errno.h> #endif |