summaryrefslogtreecommitdiff
path: root/ext/fiddle
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
commit3e8540543e4037ff58ae4ea2d8fabad1c56c0e29 (patch)
tree577f443bbbb2b932aa34270bf6273fc9465fcfbd /ext/fiddle
parent18bbb1cfc85d2ea93fb9e69d09f4004d274ac8c6 (diff)
* ext/fiddle/fiddle.h: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/fiddle')
-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