X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2Fpathtest.c;h=8804124a19e5ccbd6390c3e2f4ca11215e355e61;hb=4ff6c7ea2919afc5495b4d55144eb8d4c45fe44d;hp=0208b28ffc7f20de3547eba9fcfc0da3353c0603;hpb=40b99549ec69cb65fc3b979c6383bed5b88af7f4;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[])