From 7537f9bef042a7e9f34f21a5b1ada7278513d37a Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Mon, 21 Sep 2015 12:36:55 +0000 Subject: Properly fix the LP64 issue in the application resource handling rather than praying that globals end up in the lower 32-bit address space. Add a number of missing includes, etc. Approved by: edwin --- games/xrobots/files/patch-xrobots.h | 70 +++++++++++++++++++++++++++++-------- 1 file changed, 56 insertions(+), 14 deletions(-) (limited to 'games/xrobots/files/patch-xrobots.h') diff --git a/games/xrobots/files/patch-xrobots.h b/games/xrobots/files/patch-xrobots.h index 7061fa8835c2..c070e442fa37 100644 --- a/games/xrobots/files/patch-xrobots.h +++ b/games/xrobots/files/patch-xrobots.h @@ -1,14 +1,56 @@ -*** xrobots.h.orig Fri Nov 17 14:37:40 1989 ---- xrobots.h Mon Jan 2 22:47:56 1995 -*************** -*** 146,154 **** - game_active, - sonic_used; - -- #define MIN(a,b) ((ab)?a:b) -- - #define INXRANGE( _x_ ) (((_x_) >=0) && ((_x_)=0) && ((_y_)b)?a:b) +- + #define INXRANGE( _x_ ) (((_x_) >=0) && ((_x_)=0) && ((_y_)