summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-11 09:35:55 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-11 09:35:55 -0800
commitf26de1fd4d708349dfaa59944e85290e0fb75c81 (patch)
treed082fbf00ae4b305f677b46248b197295d8587a9
parentdf456b691838fdbc1e8a7336f84c9e784fa358d5 (diff)
downloadtxr-f26de1fd4d708349dfaa59944e85290e0fb75c81.tar.gz
txr-f26de1fd4d708349dfaa59944e85290e0fb75c81.tar.bz2
txr-f26de1fd4d708349dfaa59944e85290e0fb75c81.zip
* arith.c: Regenerated.
* arith.txr (highest_bit): Missing #else added, fixing SIZEOF_PTR == 4 case.
-rw-r--r--ChangeLog7
-rw-r--r--arith.c1
-rw-r--r--arith.txr1
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ec1d4f5..239d5786 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,13 @@
* arith.c: Regenerated.
+ * arith.txr (highest_bit): Missing #else added, fixing
+ SIZEOF_PTR == 4 case.
+
+2011-12-11 Kaz Kylheku <kaz@kylheku.com>
+
+ * arith.c: Regenerated.
+
* arith.txr (highest_bit): Oops, half the logic for
the 64 bit case was missing due to to a cut and paste mistake.
diff --git a/arith.c b/arith.c
index d5a2f886..85a0f346 100644
--- a/arith.c
+++ b/arith.c
@@ -253,6 +253,7 @@ int highest_bit(int_ptr_t n)
}
}
}
+#else
#error fixme: only 4 or 8 byte pointers supported
#endif
/* notreached */
diff --git a/arith.txr b/arith.txr
index ab5c85bd..736645da 100644
--- a/arith.txr
+++ b/arith.txr
@@ -258,6 +258,7 @@ int highest_bit(int_ptr_t n)
}
}
}
+#else
#error fixme: only 4 or 8 byte pointers supported
#endif
/* notreached */