Fix mingw32 build

pull/174/head
Michael Black 2020-01-15 16:10:35 -06:00
rodzic 0d304ecf53
commit c437bbc4d1
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -99,10 +99,10 @@ static pthread_mutex_t amp_mutex = PTHREAD_MUTEX_INITIALIZER;
#define ARG_OUT (ARG_OUT1|ARG_OUT2|ARG_OUT3|ARG_OUT4)
/* variables for readline support */
#ifdef HAVE_LIBREADLINE
static char *input_line = (char *)NULL;
static char *result = (char *)NULL;
static char *parsed_input[sizeof(char *) * 7];
#ifdef HAVE_LIBREADLINE
static const int have_rl = 1;
#ifdef HAVE_READLINE_HISTORY

Wyświetl plik

@ -95,10 +95,10 @@ extern int read_history();
#define ARG_OUT (ARG_OUT1|ARG_OUT2|ARG_OUT3|ARG_OUT4)
/* variables for readline support */
#ifdef HAVE_LIBREADLINE
static char *input_line = (char *)NULL;
static char *result = (char *)NULL;
static char *parsed_input[sizeof(char *) * 5];
#ifdef HAVE_LIBREADLINE
static const int have_rl = 1;
#ifdef HAVE_READLINE_HISTORY

Wyświetl plik

@ -116,9 +116,9 @@ static pthread_mutex_t rot_mutex = PTHREAD_MUTEX_INITIALIZER;
/* variables for readline support */
static char *input_line = (char *)NULL;
#ifdef HAVE_LIBREADLINE
static char *result = (char *)NULL;
static char *parsed_input[sizeof(char *) * 7];
#ifdef HAVE_LIBREADLINE
static const int have_rl = 1;
#ifdef HAVE_READLINE_HISTORY