summaryrefslogtreecommitdiffstats
path: root/src/dosinst.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-23 14:53:34 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-23 14:53:34 +0100
commit48e330aff911be1c798c88a973af6437a8141fce (patch)
tree4945b46753c6220ae5e8cd406d139e5640bd39c4 /src/dosinst.h
parent4e221c99e85ed40c98892068a01270b9e7492d98 (diff)
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/dosinst.h')
-rw-r--r--src/dosinst.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/dosinst.h b/src/dosinst.h
index 97d83d9700..b73f0975b9 100644
--- a/src/dosinst.h
+++ b/src/dosinst.h
@@ -46,14 +46,14 @@
char *searchpath(char *name);
#endif
-#if defined(DJGPP) || defined(UNIX_LINT)
+#if defined(UNIX_LINT)
# include <unistd.h>
# include <errno.h>
#endif
#include "version.h"
-#if defined(DJGPP) || defined(UNIX_LINT)
+#if defined(UNIX_LINT)
# define vim_mkdir(x, y) mkdir((char *)(x), y)
#else
# if defined(WIN3264) && !defined(__BORLANDC__)
@@ -63,9 +63,7 @@ char *searchpath(char *name);
# endif
#endif
-#ifndef DJGPP
-# define sleep(n) Sleep((n) * 1000)
-#endif
+#define sleep(n) Sleep((n) * 1000)
/* ---------------------------------------- */
@@ -423,9 +421,7 @@ run_command(char *cmd)
char *p;
/* On WinNT, 'start' is a shell built-in for cmd.exe rather than an
- * executable (start.exe) like in Win9x. DJGPP, being a DOS program,
- * is given the COMSPEC command.com by WinNT, so we have to find
- * cmd.exe manually and use it. */
+ * executable (start.exe) like in Win9x. */
cmd_path = searchpath_save("cmd.exe");
if (cmd_path != NULL)
{
@@ -640,14 +636,6 @@ char *sysdrive; /* system drive or "c:\" */
static void
do_inits(char **argv)
{
-#ifdef DJGPP
- /*
- * Use Long File Names by default, if $LFN not set.
- */
- if (getenv("LFN") == NULL)
- putenv("LFN=y");
-#endif
-
/* Find out the full path of our executable. */
if (my_fullpath(installdir, argv[0], BUFSIZE) == NULL)
{