From 48e330aff911be1c798c88a973af6437a8141fce Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 23 Feb 2016 14:53:34 +0100 Subject: patch 7.4.1399 Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code. --- src/vim.h | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'src/vim.h') diff --git a/src/vim.h b/src/vim.h index 7a7a7581c..4156671fb 100644 --- a/src/vim.h +++ b/src/vim.h @@ -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 #endif -#if defined(MSDOS) || defined(MSWIN) +#if defined(MSWIN) # include #endif -#if defined(HAVE_ERRNO_H) || defined(DJGPP) \ +#if defined(HAVE_ERRNO_H) \ || defined(WIN32) || defined(_WIN64) || defined(__EMX__) # include #endif -- cgit v1.2.1