On Sun, Jul 12, 2015 at 03:13:56PM +0100, Mindaugas Rasiukevicius wrote:
 > > +#if !defined(BITS_PER_LONG)
 > > +#define   BITS_PER_LONG __SIZEOF_LONG__*8
 > > +#endif
 > 
 > I did not look how exactly is this used, but it is a good idea to use
 > brackets around the expression when dealing with macros.  Just prevents
 > from any future bugs.

Also, that should be CHAR_BIT and not a magic 8...

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to