diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-04 17:40:58 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-04 18:27:47 +0300 |
commit | 997e2b2acb06b2645ce0797d7fc3a45a604193be (patch) | |
tree | 05e1c32944f6ab622b14cf8748d9818599d412d7 /teco.h | |
parent | 23c7a694db66364fff81edbf93bbd318016f43b2 (diff) | |
download | videoteco-fork-997e2b2acb06b2645ce0797d7fc3a45a604193be.tar.gz |
moved the DOS-specific defines into teco.h, so we don't need the `@WCC_DEFS` workaround
Also, we increased the maximum size of objects to be put into the "far data" section,
which significantly decreases the DOS binary size.
Diffstat (limited to 'teco.h')
-rw-r--r-- | teco.h | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -72,6 +72,31 @@ #include "config.h" #endif +#ifdef MSDOS +#define __WATCOM_LFN__ +#define STDC_HEADERS 1 +#define HAVE_STDIO_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_ERRNO_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_IO_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SIGNAL_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_DIRECT_H 1 +#define HAVE_I86_H 1 +#define HAVE_PROCESS_H 1 +#define HAVE_CONIO_H 1 +#define HAVE_MALLOC_H 1 +#define HAVE_SBRK 1 +#define HAVE_STRCHR 1 +#define TERMCAP 1 +#endif /* MSDOS */ + #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif |