Mercurial > vim
comparison src/main.c @ 8212:05b88224cea1 v7.4.1399
commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 14:53:34 2016 +0100
patch 7.4.1399
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 15:00:08 +0100 |
parents | 95d59081580f |
children | 1b6a589a0efc |
comparison
equal
deleted
inserted
replaced
8211:6116980b4cfa | 8212:05b88224cea1 |
---|---|
7 * See README.txt for an overview of the Vim source code. | 7 * See README.txt for an overview of the Vim source code. |
8 */ | 8 */ |
9 | 9 |
10 #define EXTERN | 10 #define EXTERN |
11 #include "vim.h" | 11 #include "vim.h" |
12 | |
13 #ifdef SPAWNO | |
14 # include <spawno.h> /* special MS-DOS swapping library */ | |
15 #endif | |
16 | 12 |
17 #ifdef __CYGWIN__ | 13 #ifdef __CYGWIN__ |
18 # ifndef WIN32 | 14 # ifndef WIN32 |
19 # include <cygwin/version.h> | 15 # include <cygwin/version.h> |
20 # include <sys/cygwin.h> /* for cygwin_conv_to_posix_path() and/or | 16 # include <sys/cygwin.h> /* for cygwin_conv_to_posix_path() and/or |
503 } | 499 } |
504 #endif | 500 #endif |
505 | 501 |
506 /* | 502 /* |
507 * mch_init() sets up the terminal (window) for use. This must be | 503 * mch_init() sets up the terminal (window) for use. This must be |
508 * done after resetting full_screen, otherwise it may move the cursor | 504 * done after resetting full_screen, otherwise it may move the cursor. |
509 * (MSDOS). | |
510 * Note that we may use mch_exit() before mch_init()! | 505 * Note that we may use mch_exit() before mch_init()! |
511 */ | 506 */ |
512 mch_init(); | 507 mch_init(); |
513 TIME_MSG("shell init"); | 508 TIME_MSG("shell init"); |
514 | 509 |
706 /* When running "evim" or "gvim -y" we need the menus, exit if we | 701 /* When running "evim" or "gvim -y" we need the menus, exit if we |
707 * don't have them. */ | 702 * don't have them. */ |
708 if (!gui.in_use && params.evim_mode) | 703 if (!gui.in_use && params.evim_mode) |
709 mch_exit(1); | 704 mch_exit(1); |
710 } | 705 } |
711 #endif | |
712 | |
713 #ifdef SPAWNO /* special MSDOS swapping library */ | |
714 init_SPAWNO("", SWAP_ANY); | |
715 #endif | 706 #endif |
716 | 707 |
717 #ifdef FEAT_VIMINFO | 708 #ifdef FEAT_VIMINFO |
718 /* | 709 /* |
719 * Read in registers, history etc, but not marks, from the viminfo file. | 710 * Read in registers, history etc, but not marks, from the viminfo file. |