summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-28 21:22:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-28 21:22:57 +0000
commit40d95eabb6c1e8b16c074e37557765a9955ec2ab (patch)
tree42af526bf6ea6b11728cb563130e77e49262e103 /ext
parent6e8f7ef9662c9947d587d4593e5eafd1dcb7cc02 (diff)
* ext/fiddle/fiddle.h: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/fiddle/fiddle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fiddle/fiddle.h b/ext/fiddle/fiddle.h
index a73e560593..4418fafb1e 100644
--- a/ext/fiddle/fiddle.h
+++ b/ext/fiddle/fiddle.h
@@ -27,14 +27,14 @@
#undef ffi_type_ulong
#undef ffi_type_slong
-#ifdef CHAR_BIT == 8
+#if CHAR_BIT == 8
# define ffi_type_uchar ffi_type_uint8
# define ffi_type_schar ffi_type_sint8
#else
# error "CHAR_BIT not supported"
#endif
-# ifdef SIZEOF_SHORT == 2
+# if SIZEOF_SHORT == 2
# define ffi_type_ushort ffi_type_uint16
# define ffi_type_sshort ffi_type_sint16
# elif SIZEOF_SHORT == 4