freebsd-ports/archivers/freeze/files/patch-freeze.h
David W. Chapman Jr. 5dab8f6739 Add patches to not define putc and getc as a macro
Bump PORTREVISION

PR:		29284
2001-08-30 19:49:08 +00:00

24 lines
823 B
C

--- freeze.h.orig Thu Aug 30 14:40:37 2001
+++ freeze.h Thu Aug 30 14:40:54 2001
@@ -5,21 +5,6 @@
# include <sys/stdtypes.h>
#endif
-#ifndef getc
-# ifdef m88k /* Green Hill C library bug. */
-# define getc(p) (--(p)->_cnt < 0 ? __filbuf(p) : (int) *(p)->_ptr++)
-# else
-# define getc(p) (--(p)->_cnt < 0 ? _filbuf(p) : (int) *(p)->_ptr++)
-# endif
-#endif
-#ifndef putc
-# ifdef m88k /* Green Hill C library bug. */
-# define putc(x, p) (--(p)->_cnt < 0 ? __flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x)))
-# else
-# define putc(x, p) (--(p)->_cnt < 0 ? _flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x)))
-# endif
-#endif
-
#if !defined(MSDOS) && defined(__MSDOS__)
# define MSDOS
#endif