1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/graphics/graphviz/files/patch-ae

15 lines
334 B
Plaintext
Raw Normal View History

1999-06-28 13:23:38 +00:00
--- src/cmd/lefty/lefty.c.orig Mon Mar 24 18:01:54 1997
+++ src/cmd/lefty/lefty.c Tue Jan 27 20:25:04 1998
@@ -29,7 +29,11 @@
#ifdef GNU
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
#else
+#ifdef __FreeBSD__
+#define canread(fp) ((fp)->_r >0)
+#else
#define canread(fp) ((fp)->_cnt > 0)
+#endif
#endif
#endif