aboutsummaryrefslogtreecommitdiff
path: root/devel/glui/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glui/files/patch-ab')
-rw-r--r--devel/glui/files/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/glui/files/patch-ab b/devel/glui/files/patch-ab
new file mode 100644
index 000000000000..bd4eff66c02c
--- /dev/null
+++ b/devel/glui/files/patch-ab
@@ -0,0 +1,12 @@
+--- stdinc.h.orig Fri Jul 9 22:38:46 1999
++++ stdinc.h Tue Sep 25 21:50:32 2001
+@@ -99,8 +99,7 @@
+
+ /************ check if a 2D point lies within a 2D box ***************/
+ #ifndef PT_IN_BOX
+-#define PT_IN_BOX( x, y, lo_x, hi_x, lo_y, hi_y ) \
+-( IN_BOUNDS(x,lo_x,hi_x) AND IN_BOUNDS(y,lo_y,hi_y) )
++#define PT_IN_BOX( x, y, lo_x, hi_x, lo_y, hi_y ) ( IN_BOUNDS(x,lo_x,hi_x) AND IN_BOUNDS(y,lo_y,hi_y) )
+ #endif
+
+ /****** check if value lies on proper side of another value *****/