Re: [PATCH] btrfs-progs: libbtrfs: remove max/min macros from API

2016-03-04 Thread David Sterba
On Fri, Mar 04, 2016 at 02:46:11PM +0100, Ondrej Kozina wrote: > kerncompat.h header file is part of libbtrfs API. min/max macros cause > conflict while building projects dependant on libbtrfs. Moving those > macros to btrfs-progs internal header file fixes the conflict. > > Signed-of-by: Ondrej K

[PATCH] btrfs-progs: libbtrfs: remove max/min macros from API

2016-03-04 Thread Ondrej Kozina
kerncompat.h header file is part of libbtrfs API. min/max macros cause conflict while building projects dependant on libbtrfs. Moving those macros to btrfs-progs internal header file fixes the conflict. Signed-of-by: Ondrej Kozina --- backref.c | 1 + ctree.c| 1 + extent_