bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch/ruby] Remove reference to private headers


From: David Ayers
Subject: [Patch/ruby] Remove reference to private headers
Date: Thu, 31 Jul 2003 07:18:13 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Hello,

   * Source/RIGSCore.m: Remove reference to private header.

Commited.

I haven't tested this, do to the lack of ruby, but it seems rather obvious.

Cheers,
David.
? ruby.patch
Index: Source/RIGSCore.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/ruby/Source/RIGSCore.m,v
retrieving revision 1.8
diff -u -r1.8 RIGSCore.m
--- Source/RIGSCore.m   30 May 2003 04:02:36 -0000      1.8
+++ Source/RIGSCore.m   31 Jul 2003 05:11:12 -0000
@@ -38,7 +38,10 @@
 
 #ifdef GNUSTEP
 #include <objc/encoding.h>
-#include <mframe.h>  // For the definition of the ROUND macro
+
+#define ROUND(V, A) \
+  ({ typeof(V) __v=(V); typeof(A) __a=(A); \
+     __a*((__v+__a-1)/__a); })
 #endif
 
 /* Do not include the whole <Foundation/Foundation.h> to avoid

reply via email to

[Prev in Thread] Current Thread [Next in Thread]