Whamcloud - gitweb
libsupport: fix compilation on RHEL 5.x due to missing magic define
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 25 Oct 2016 17:22:39 +0000 (13:22 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 25 Oct 2016 17:22:56 +0000 (13:22 -0400)
commitb003b2e6f9e54e7b2bde15828b97f5dc285b915e
tree2a9c5f27df6e959082fac40910f84c7523bd9c13
parent1e19b01be31fc5264a84d246023ecf29e44949df
libsupport: fix compilation on RHEL 5.x due to missing magic define

RHEL 5.x does have magic.h, but it does not define all expected symbols. In
particular, the NO_CHECK symbols were only added in file 4.20 and RHEL 5.x
is using 4.17.

Add substitute defines to allow continued usage of magic but without the
requested exclude checks.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/support/plausible.c