dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recognize the UTF-8 byte order mark.
[gedcom-parse.git]
/
t
/
src
/
pathtest.c
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 <stdlib.h>
#include <string.h>
+#include "config.h"
#include "gedcom.h"
int check_gconv_path()
{
#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;
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[])
}
int main(int argc, char* argv[])