diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2016-03-06 06:52:55 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-06 11:03:00 -0800 |
commit | 39313c5b3340683b9e4475987308dac24491a982 (patch) | |
tree | 5507c58efe70499262b2e24b2bd24ef6ec9e7f4c /subsurface-core/file.c | |
parent | 710b3615fe875cd99a78f643790201b587ffef97 (diff) | |
download | subsurface-39313c5b3340683b9e4475987308dac24491a982.tar.gz |
Clean up handling of various include file
This is in the context of the iOS port and shouldn't impact any of the
other builds.
[Dirk Hohndel: refactored the iOS patches]
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/file.c')
-rw-r--r-- | subsurface-core/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurface-core/file.c b/subsurface-core/file.c index 3f6dd6dbb..3bac96ea0 100644 --- a/subsurface-core/file.c +++ b/subsurface-core/file.c @@ -923,13 +923,14 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv * input file added as last parameter. */ +#ifndef SUBSURFACE_MOBILE if (verbose >= 2) { fprintf(stderr, "(echo '<csv>'; cat %s;echo '</csv>') | xsltproc ", filename); for (i=0; params[i]; i+=2) fprintf(stderr, "--stringparam %s %s ", params[i], params[i+1]); fprintf(stderr, "%s/xslt/csv2xml.xslt -\n", SUBSURFACE_SOURCE); } - +#endif ret = parse_xml_buffer(filename, mem.buffer, mem.size, &dive_table, (const char **)params); free(mem.buffer); |