dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c6091
)
Portability: should return success if iconv is not glibc.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 28 Sep 2002 17:48:46 +0000
(17:48 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 28 Sep 2002 17:48:46 +0000
(17:48 +0000)
t/src/pathtest.c
patch
|
blob
|
history
diff --git
a/t/src/pathtest.c
b/t/src/pathtest.c
index 0208b28ffc7f20de3547eba9fcfc0da3353c0603..8804124a19e5ccbd6390c3e2f4ca11215e355e61 100644
(file)
--- a/
t/src/pathtest.c
+++ b/
t/src/pathtest.c
@@
-23,15
+23,17
@@
#include <stdlib.h>
#include <string.h>
+#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[])