shithub: rott

Download patch

ref: 7ad22c3159af90b31e6fb7ab233318d789dce472
parent: 1a0e2a92739724da94414cb7e16ce55c105d1515
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Mon Jun 4 11:14:32 EDT 2018

Removing DOS code rt_def.h

--- a/rott/rt_def.h
+++ b/rott/rt_def.h
@@ -50,7 +50,7 @@
 #error please define your platform.
 #endif
 
-#if PLATFORM_DOS || PLATFORM_WIN32
+#if PLATFORM_WIN32
 #define PATH_SEP_CHAR '\\'
 #define PATH_SEP_STR  "\\"
 #elif PLATFORM_UNIX
@@ -115,7 +115,6 @@
 #define max(a, b)  (((a) > (b)) ? (a) : (b))
 #endif
 
-#if !PLATFORM_DOS
 #if PLATFORM_WIN32
 #define strcmpi(x, y) stricmp(x, y)
 #define _fstricmp(x, y) stricmp(x, y)
@@ -150,7 +149,6 @@
 
 #define far
 #define cdecl
-#endif
 
 //***************************************************************************
 //