ruby-changes:16481
From: nobu <ko1@a...>
Date: Tue, 29 Jun 2010 06:23:09 +0900 (JST)
Subject: [ruby-changes:16481] Ruby:r28470 (trunk, ruby_1_9_2): * ext/fiddle/fiddle.h: fixed typo.
nobu 2010-06-29 06:22:57 +0900 (Tue, 29 Jun 2010) New Revision: 28470 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28470 Log: * ext/fiddle/fiddle.h: fixed typo. Modified files: branches/ruby_1_9_2/ext/fiddle/fiddle.h trunk/ext/fiddle/fiddle.h Index: ext/fiddle/fiddle.h =================================================================== --- ext/fiddle/fiddle.h (revision 28469) +++ ext/fiddle/fiddle.h (revision 28470) @@ -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 Index: ruby_1_9_2/ext/fiddle/fiddle.h =================================================================== --- ruby_1_9_2/ext/fiddle/fiddle.h (revision 28469) +++ ruby_1_9_2/ext/fiddle/fiddle.h (revision 28470) @@ -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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/