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:
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
}