Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2015-10-25 16:48:46 +0300
committerBen Wiederhake <BenWiederhake.GitHub@gmx.de>2015-11-01 22:45:10 +0300
commited8503949adf61f77b6e29a63730b7cbce12e34b (patch)
treeccd9c796116b561c9bd565401cb66997049692e4 /auto-static-fetch.c
parent3808ff9d13303fa30480682c89e96071ae39aa6e (diff)
Fix support for --disable-extf
Diffstat (limited to 'auto-static-fetch.c')
-rw-r--r--auto-static-fetch.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/auto-static-fetch.c b/auto-static-fetch.c
index 4d4e47c..437fa1b 100644
--- a/auto-static-fetch.c
+++ b/auto-static-fetch.c
@@ -1,3 +1,7 @@
+#include <assert.h>
+
+#include "config.h"
+
static int multiline_output = 1;
static int multiline_offset;
static int multiline_offset_size = 2;
@@ -100,7 +104,11 @@ static void print_offset (void) {
}
char *tglf_extf_fetch (struct tgl_state *TLS, struct paramed_type *T) {
+#ifdef DISABLE_EXTF
+ assert (0);
+#else
out_buf_pos = 0;
if (fetch_type_any (T) < 0) { return 0; }
return out_buf;
+#endif
}