summaryrefslogtreecommitdiff
path: root/tops20/osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'tops20/osdep.h')
-rw-r--r--tops20/osdep.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tops20/osdep.h b/tops20/osdep.h
new file mode 100644
index 0000000..c750c2d
--- /dev/null
+++ b/tops20/osdep.h
@@ -0,0 +1,31 @@
+/*
+ Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
+
+ See the accompanying file LICENSE, version 2007-Mar-4 or later
+ (the contents of which are also included in zip.h) for terms of use.
+ If, for some reason, all these files are missing, the Info-ZIP license
+ also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
+*/
+#ifndef TOPS20
+#define TOPS20
+#endif
+
+#define NO_PROTO
+#define NO_SYMLINKS
+#define NO_TERMIO
+#define DIRENT
+#define BIG_MEM
+#define REALLY_SHORT_SYMS
+#define window_size winsiz
+
+extern int isatty();
+
+#define FOPR "rb"
+#define FOPM "r+b"
+#define FOPW "w8"
+
+#define CBSZ 524288
+#define ZBSZ 524288
+
+#include <sys/types.h>
+#include <sys/stat.h>