[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140705040041.GH11103@thunk.org>
Date: Sat, 5 Jul 2014 00:00:41 -0400
From: Theodore Ts'o <tytso@....edu>
To: Andreas Dilger <adilger@...ger.ca>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] blkid,ext2fs: avoid name clash with __u{8,16,32,64}
On Thu, May 08, 2014 at 03:23:56PM -0600, Andreas Dilger wrote:
> Try to avoid name clashes with definitions of __u8, __u16, __u32,
> and __u64 in userspace, in case other headers also define these
> types. Define HAVE___{S,U}{8,16,32,64} preprocessor macros to
> show that these types are already defined.
>
> This would avoid the need to check for _BLKID_TYPES_H in ext2_types.h
> and _EXT2_TYPES_H in blkid_types.h, but since older versions of these
> headers did not use HAVE___U8 et.al. keep these checks around for now.
>
> Report an error if there are no 64-bit types available. The code
> will not compile if these are not available.
>
> Signed-off-by: Andreas Dilger <adilger@...ger.ca>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists