diff options
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |