From ce1bfc2039cc673c3c9099933c05c9fac3e88ae9 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 4 Aug 2008 18:44:16 +0200 Subject: Make it possible to disable fixnum support by supplying -DNO_FIXNUMS as a compiler flag. --- MLKRoot.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MLKRoot.m') diff --git a/MLKRoot.m b/MLKRoot.m index 5f70830..9077335 100644 --- a/MLKRoot.m +++ b/MLKRoot.m @@ -170,8 +170,13 @@ static id truify (BOOL value) +(NSArray *) fixnum_eq:(NSArray *)args { +#ifdef NO_FIXNUMS + RETURN_VALUE (truify ([[args objectAtIndex:0] + isEqual:[args objectAtIndex:1]])); +#else RETURN_VALUE (truify (denullify([args objectAtIndex:0]) == denullify([args objectAtIndex:1]))); +#endif } +(NSArray *) symbolp:(NSArray *)args -- cgit v1.2.3