summaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
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