summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-01-18 10:26:07 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-01-18 10:26:07 +0000
commitf8384fa50c78bd3a03985aa24e67e09696965eda (patch)
treec5fb5b5a9d0799c48bf890dbeaf212b791c31273
parent1a250d9f32361b30a8a632ecc0023680b1e38323 (diff)
Use char for smallint on CRIS as well.
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f0b248b4c..2d49289e4 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -224,7 +224,7 @@ extern int sysinfo(struct sysinfo* info);
/* Size-saving "small" ints (arch-dependent) */
-#if defined(i386) || defined(__x86_64__) || defined(__mips__)
+#if defined(i386) || defined(__x86_64__) || defined(__mips__) || defined(__cris__)
/* add other arches which benefit from this... */
typedef signed char smallint;
typedef unsigned char smalluint;