]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
headers: remove definition of ASSERT from xfs.h
authorDave Chinner <dchinner@redhat.com>
Wed, 28 Oct 2015 01:01:48 +0000 (12:01 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 28 Oct 2015 01:01:48 +0000 (12:01 +1100)
commit5cfd2d5b5df6164daf03becdef236444c0bfe74a
treeaccfd2f170e7bc05cacce110c2cc5372c00e2386
parentf7efc5e715946ff1da3561b18edbc234a3868c63
headers: remove definition of ASSERT from xfs.h

If we define ASSERT() in the installed xfs.h header file, programs
including this header file will have their local definitions of
ASSERT screwed up. This is something internal to the xfsprogs build,
so move it to platform_defs.h.in where it will no longer be public.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/platform_defs.h.in
include/xfs.h