summaryrefslogtreecommitdiff
path: root/archivers/freeze/patches/patch-ae
blob: e86627ffa39e1ccfbe15ce3d0065658c078ca25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ae,v 1.2 2004/05/07 11:19:21 cjep Exp $
--- freeze.h.orig	Fri Mar 12 20:57:04 2004
+++ freeze.h	Fri Mar 12 20:57:47 2004
@@ -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