summaryrefslogtreecommitdiff
path: root/src/xxd
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-16 14:47:36 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-16 14:47:36 +0200
commita06ecab7a5159e744448ace731036f0dc5f87dd4 (patch)
tree9474754ee4ef21fefea517d5fa2deae7c30c458d /src/xxd
parentbfafb4c4a01db3f8c508716daf689e0dfe92b649 (diff)
downloadvim-git-a06ecab7a5159e744448ace731036f0dc5f87dd4.tar.gz
patch 7.4.2048v7.4.2048
Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
Diffstat (limited to 'src/xxd')
-rw-r--r--src/xxd/xxd.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c
index 8cd760b15..f76adaa3a 100644
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -80,14 +80,7 @@
#else
# include <fcntl.h>
#endif
-#ifdef __TSC__
-# define MSDOS
-#endif
-#if !defined(OS2) && defined(__EMX__)
-# define OS2
-#endif
-#if defined(MSDOS) || defined(WIN32) || defined(OS2) || defined(__BORLANDC__) \
- || defined(CYGWIN)
+#if defined(WIN32) || defined(__BORLANDC__) || defined(CYGWIN)
# include <io.h> /* for setmode() */
#else
# ifdef UNIX
@@ -149,18 +142,10 @@ char version[] = "xxd V1.10 27oct98 by Juergen Weigert";
#ifdef WIN32
char osver[] = " (Win32)";
#else
-# ifdef DJGPP
-char osver[] = " (dos 32 bit)";
-# else
-# ifdef MSDOS
-char osver[] = " (dos 16 bit)";
-# else
char osver[] = "";
-# endif
-# endif
#endif
-#if defined(MSDOS) || defined(WIN32) || defined(OS2)
+#if defined(WIN32)
# define BIN_READ(yes) ((yes) ? "rb" : "rt")
# define BIN_WRITE(yes) ((yes) ? "wb" : "wt")
# define BIN_CREAT(yes) ((yes) ? (O_CREAT|O_BINARY) : O_CREAT)
@@ -203,8 +188,7 @@ char osver[] = "";
#endif
#ifndef __P
-# if defined(__STDC__) || defined(MSDOS) || defined(WIN32) || defined(OS2) \
- || defined(__BORLANDC__)
+# if defined(__STDC__) || defined(WIN32) || defined(__BORLANDC__)
# define __P(a) a
# else
# define __P(a) ()