summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */