1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/opendx/files/patch-ab

20 lines
412 B
Plaintext

--- include/dx/arch.h.orig Wed May 26 01:14:59 1999
+++ include/dx/arch.h Thu May 27 09:49:29 1999
@@ -785,6 +785,16 @@
#endif /* alphax */
+/*
+ * FreeBSD (and probably NetBSD and OpenBSD)
+ */
+#ifdef __FreeBSD__
+
+#undef F_CHAR_READY
+#define F_CHAR_READY(fp) ((fp)->_r > 0 || (fp)->_ub._base)
+
+#endif /* __FreeBSD__ */
+
/* if standard IEEE floating point, these are the constants. the