diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2015-04-24 00:12:51 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-05-28 16:31:34 -0700 |
commit | bd9ed192b5d6ee7afc49bfd383a23b50792de8c2 (patch) | |
tree | 3c6c7e7653cf18a323701ef18d9bbbeb2f8221fa /tests/ubi-tests/mkvol_basic.c | |
parent | 60e251320e33240ea24611682f8ccdb4722a9010 (diff) |
include/common.h: fix build against musl
Like uClibc version older than (not yet released) 0.9.34 musl does not have
a rpmatch() implementation.
uClibc defines both __UCLIBC__ and __GLIBC__. So first check for uCibc and its
version and then for a non glibc implementation (like musl). Note, musl does
not define __MUSL__.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
0 files changed, 0 insertions, 0 deletions