From 6881b1278a70a1db35cc60f7edec97a4418080ee Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 28 Sep 2002 17:48:46 +0000 Subject: [PATCH] Portability: should return success if iconv is not glibc. --- t/src/pathtest.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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[]) -- 2.30.2