summaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/cli.c b/src/cli.c
index 253f104..e21fcbd 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1,12 +1,18 @@
#include "cli.h"
-#ifndef _WIN32
+#ifdef _WIN32
+int start_interactive( bool colors, FILE *in )
+{
+ fprintf( stderr, "ERROR: Not implemented on Windows!\n" );
+ return EXIT_FAILURE;
+}
+
+#else
#include <strings.h>
#include <ctype.h>
#include <stdarg.h>
#include "linenoise.h"
#include "http_lib.h"
-#endif
#include <stdlib.h>
#include <string.h>
@@ -309,3 +315,5 @@ int start_interactive( bool colors, FILE *in )
return EXIT_SUCCESS;
}
+
+#endif