From: Tilman Sauerbeck Date: Wed, 11 May 2005 17:19:38 +0000 (+0000) Subject: Don't define BSWAP16, it's not used. X-Git-Tag: ruby-eet-0.1.3~21 X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;ds=sidebyside;h=5f313a3c016b0d98af8ee8a731fb9a0870d74fe3;hp=2c5f0577496dbb429a327fc85e72e7f4dcf4250c;p=ruby-eet.git Don't define BSWAP16, it's not used. --- diff --git a/ChangeLog b/ChangeLog index 6195445..107c920 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,10 @@ -- -$Id: ChangeLog 35 2005-05-10 18:58:49Z tilman $ +$Id: ChangeLog 36 2005-05-11 17:19:38Z tilman $ ++ +2005-05-11 Tilman Sauerbeck (tilman at code-monkey de) + * ext/ext.c: Don't define BSWAP16, it's not used + 2005-05-10 Tilman Sauerbeck (tilman at code-monkey de) * ext/ext.c: Store the result of rb_intern("include?") in a global variable, since it's used very often diff --git a/ext/ext.c b/ext/ext.c index 02ddba9..1e9d21f 100644 --- a/ext/ext.c +++ b/ext/ext.c @@ -1,5 +1,5 @@ /* - * $Id: ext.c 35 2005-05-10 18:58:49Z tilman $ + * $Id: ext.c 36 2005-05-11 17:19:38Z tilman $ * * Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) * @@ -39,7 +39,6 @@ ((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) | \ (((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24)) #else /* !WORDS_BIGENDIAN */ -# define BSWAP16(x) (x) # define BSWAP32(x) (x) #endif /* WORDS_BIGENDIAN */