aboutsummaryrefslogtreecommitdiff
path: root/tecmem.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-29 06:19:21 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-23 06:51:22 +0300
commit92f964701d55ae3a7c2060da3a78fe6d3b665bcb (patch)
tree4deb210d56a018259411b2fd5f79743698b6b69b /tecmem.c
parent93f61120ddba2093d85dbd09dff2deb42f0393e2 (diff)
downloadvideoteco-fork-92f964701d55ae3a7c2060da3a78fe6d3b665bcb.tar.gz
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.
Diffstat (limited to 'tecmem.c')
-rw-r--r--tecmem.c2
1 files changed, 1 insertions, 1 deletions
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();