From 92f964701d55ae3a7c2060da3a78fe6d3b665bcb Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 29 Mar 2025 06:19:21 +0300 Subject: MS-DOS real-mode (8086) port It can be cross-compiled or compiled natively on 32-bit DOS with OpenWatcom C v1.9. Compiling on an 8086 might be possible later on - but we would have to add support for some ancient ANSI C compiler. --- tecmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tecmem.c') diff --git a/tecmem.c b/tecmem.c index f5abd95..88431a9 100644 --- a/tecmem.c +++ b/tecmem.c @@ -39,7 +39,7 @@ char *tecmem_c_version = "tecmem.c: $Revision: 1.3 $"; char *starting_break; -#ifndef HAVE_UNISTD_H +#if !defined(HAVE_UNISTD_H) && !defined(HAVE_STDLIB_H) char *malloc(); void free(); void exit(); -- cgit v1.2.3