X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2Fpathtest.c;fp=t%2Fsrc%2Fpathtest.c;h=8804124a19e5ccbd6390c3e2f4ca11215e355e61;hb=6881b1278a70a1db35cc60f7edec97a4418080ee;hp=0208b28ffc7f20de3547eba9fcfc0da3353c0603;hpb=b1c60912ae5448ffb3c7abee5b9ec3367488179f;p=gedcom-parse.git diff --git a/t/src/pathtest.c b/t/src/pathtest.c index 0208b28..8804124 100644 --- a/t/src/pathtest.c +++ b/t/src/pathtest.c @@ -23,15 +23,17 @@ #include #include +#include "config.h" #include "gedcom.h" int check_gconv_path() { +#ifdef USE_GLIBC_ICONV char* path = getenv("GCONV_PATH"); if (path == NULL || strstr(path, PKGDATADIR) == NULL) return 1; - else - return 0; +#endif + return 0; } int main(int argc, char* argv[])