summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Platform.c
diff options
context:
space:
mode:
authorWayne Meissner <wmeissner@gmail.com>2010-08-19 23:37:23 +1000
committerWayne Meissner <wmeissner@gmail.com>2010-08-19 23:37:23 +1000
commit2af36facace444c76e08741cee6595c2cfad6969 (patch)
tree8b0f88d5e55aee376065416e8cff2591a3d37f09 /ext/ffi_c/Platform.c
parent8ee6232c22e63215789a35c82bfcbe37cbd5e31e (diff)
downloadffi-2af36facace444c76e08741cee6595c2cfad6969.tar.gz
Add support for arm cpu in Platform.c
Diffstat (limited to 'ext/ffi_c/Platform.c')
-rw-r--r--ext/ffi_c/Platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ffi_c/Platform.c b/ext/ffi_c/Platform.c
index 2388a44..decfb82 100644
--- a/ext/ffi_c/Platform.c
+++ b/ext/ffi_c/Platform.c
@@ -24,6 +24,8 @@ static VALUE PlatformModule = Qnil;
#define CPU "sparc"
#elif defined(__sparcv9__)
#define CPU "sparcv9"
+#elif defined(__arm__)
+#define CPU "arm"
#else
#error "Unknown cpu type"
#endif