13 lines
508 B
Plaintext
13 lines
508 B
Plaintext
$OpenBSD: patch-lefty_lefty_c,v 1.1.1.1 2001/06/09 20:38:01 espie Exp $
|
|
--- lefty/lefty.c.orig Tue May 22 13:12:06 2001
|
|
+++ lefty/lefty.c Tue May 22 13:12:17 2001
|
|
@@ -44,7 +44,7 @@
|
|
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
|
|
#else
|
|
#ifdef NO_CNT_IN_FILESTRUCT
|
|
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
|
#define canread(fp) ((fp)->_r > 0)
|
|
#else
|
|
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
|