[svn:parrot] r35670 - trunk/src/pmc

[email protected]
Newsgroups perl.cvs.parrot
Message-ID <[email protected]>
Author: cotto
Date: Sat Jan 17 02:03:02 2009
New Revision: 35670

Modified:
   trunk/src/pmc/bigint.pmc

Log:
[pmc] make BigInt compile without the libgmp headers


Modified: trunk/src/pmc/bigint.pmc
==============================================================================
--- trunk/src/pmc/bigint.pmc	(original)
+++ trunk/src/pmc/bigint.pmc	Sat Jan 17 02:03:02 2009
@@ -360,6 +360,10 @@
 
 #else /* ifdef PARROT_HAS_GMP */
 
+typedef struct BIGINT {
+    INTVAL b; /* bogus definition for users without libgmp*/
+} BIGINT;
+
 static void
 bigint_init(PARROT_INTERP, PMC *self) {
     Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_LIBRARY_ERROR,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.