summaryrefslogtreecommitdiff
path: root/src/h-config.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-06-25 20:00:30 +0200
committerBardur Arantsson <bardur@scientician.net>2014-06-25 20:00:30 +0200
commit608bd67cf9be8a0b7f7edf44913a4a3b259c9a45 (patch)
tree2037b4bcdfca6f4a727b404908b51a5eb37a68f7 /src/h-config.h
parentc079e7235f11d124b9254f44e0d4ec18c7662b6e (diff)
Remove obsolete MSDOS/AMIGA support code
Diffstat (limited to 'src/h-config.h')
-rw-r--r--src/h-config.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/h-config.h b/src/h-config.h
index 3ebaa87f..220be370 100644
--- a/src/h-config.h
+++ b/src/h-config.h
@@ -122,15 +122,6 @@ extern "C" {
#endif
/*
- * Extract the "MSDOS" flag from the compiler
- */
-#ifdef __MSDOS__
-# ifndef MSDOS
-# define MSDOS
-# endif
-#endif
-
-/*
* Extract the "WINDOWS" flag from the compiler
*/
#if defined(_Windows) || defined(__WINDOWS__) || \
@@ -165,8 +156,7 @@ extern "C" {
* Basically, SET_UID should *only* be set for "Unix" machines,
* or for the "Atari" platform which is Unix-like, apparently
*/
-#if !defined(MACINTOSH) && !defined(WINDOWS) && \
- !defined(MSDOS)
+#if !defined(MACINTOSH) && !defined(WINDOWS)
# define SET_UID
#endif
@@ -205,10 +195,6 @@ extern "C" {
# undef PATH_SEP
# define PATH_SEP "\\"
#endif
-#if defined(MSDOS) || defined(OS2)
-# undef PATH_SEP
-# define PATH_SEP "\\"
-#endif
#ifdef __GO32__
# undef PATH_SEP
# define PATH_SEP "/"
@@ -218,7 +204,7 @@ extern "C" {
/*
* The Macintosh allows the use of a "file type" when creating a file
*/
-#if defined(MACINTOSH) && !defined(applec) || defined(MACH_O_CARBON)
+#if defined(MACINTOSH) && !defined(applec)
# define FILE_TYPE_TEXT 'TEXT'
# define FILE_TYPE_DATA 'DATA'
# define FILE_TYPE_SAVE 'SAVE'
@@ -231,7 +217,7 @@ extern "C" {
/*
* OPTION: Hack -- Make sure "strchr()" and "strrchr()" will work
*/
-#if defined(SYS_III) || defined(SYS_V) || defined(MSDOS)
+#if defined(SYS_III) || defined(SYS_V)
# if !defined(__TURBOC__) && !defined(__WATCOMC__)
# define strchr index
# define strrchr rindex