summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-18 00:16:06 +0000
committerDenis Vlasenko2007-01-18 00:16:06 +0000
commitcbbc043d1bce3bf48097520dbb91d84a423386a6 (patch)
tree336a38a815143bd969d0ca04e9d3afe40848a1ec /include/libbb.h
parentef44d9d9f2aa5d0333d5a7a2749e32c6be94365d (diff)
downloadbusybox-cbbc043d1bce3bf48097520dbb91d84a423386a6.zip
busybox-cbbc043d1bce3bf48097520dbb91d84a423386a6.tar.gz
smallint can be a char for amd64 too
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1294fb7..f0b248b 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 (__mips__)
+#if defined(i386) || defined(__x86_64__) || defined(__mips__)
/* add other arches which benefit from this... */
typedef signed char smallint;
typedef unsigned char smalluint;