shithub: rott

Download patch

ref: a043f0573089b3c036b91e8678b61c2490c67b9b
parent: ea13cbae7c137f1f5256db3508df75c9ae60e9c5
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Mon Jun 4 11:22:40 EDT 2018

Removing DOS code rt_util.h

--- a/rott/rt_util.h
+++ b/rott/rt_util.h
@@ -127,14 +127,11 @@
 int _dos_findfirst(char *filename, int x, struct find_t *f);
 int _dos_findnext(struct find_t *f);
 
-#elif PLATFORM_DOS
-/* no-op */
 #else
 #error please define for your platform.
 #endif
 
 
-#if !PLATFORM_DOS
 struct dosdate_t
 {
     unsigned char day;
@@ -144,7 +141,6 @@
 };
 
 void _dos_getdate(struct dosdate_t *date);
-#endif
 
 
 #if (SOFTERROR==1)