home *** CD-ROM | disk | FTP | other *** search
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/compress/compress42.c,v
- retrieving revision 1.1.1.1
- diff -c -r1.1.1.1 compress42.c
- *** 1.1.1.1 1992/10/20 22:11:28
- --- compress42.c 1992/10/20 22:43:06
- ***************
- *** 285,290 ****
- --- 285,311 ----
- # define COMPILE_DATE __DATE__
- #endif /* DOS */
-
- + #ifdef atarist /* atari St/TT/Falcon series, with gcc */
- + # define FAST 1
- + # undef BYTEORDER
- + # define BYTEORDER 1234
- + #if 0 /* recommended options in the makefile */
- + # define NOFUNCDEF 1
- + # define DIRENT 1
- + # define LSTAT 1
- + # define REGISTERS 12
- + # define IBUFSIZ 16384
- + # define OBUFSIZ 16384
- + # define UTIME_H 1
- + #endif
- + # define COMPILE_DATE __DATE__
- + # include <unistd.h>
- + # include <stddef.h>
- + # include <stdlib.h>
- + # include <string.h>
- + # include <memory.h>
- + #endif
- +
- #ifndef O_BINARY
- # define O_BINARY 0 /* System has no binary mode */
- #endif
- ***************
- *** 644,650 ****
- --- 665,673 ----
- void compdir ARGS((char *));
- void compress ARGS((int,int));
- void decompress ARGS((int,int));
- + #ifndef atarist
- char *rindex ARGS((char *,int));
- + #endif
- void read_error ARGS((void));
- void write_error ARGS((void));
- void abort_compress ARGS((void));
- ***************
- *** 1798,1803 ****
- --- 1821,1827 ----
- write_error();
- }
-
- + #ifndef atarist
- char *
- rindex(s, c) /* For those who don't have it in libc.a */
- REG1 char *s;
- ***************
- *** 1811,1816 ****
- --- 1835,1841 ----
-
- return(p);
- }
- + #endif
-
- void
- read_error()
-