HISTORY_NO_DUP_FLAG currently missing from mingw wincon.h

This commit is contained in:
Kelvin Sherlock 2019-02-17 23:42:51 -05:00
parent 31ab8d4c6c
commit fed51ab444

View File

@ -136,6 +136,10 @@ void x_readline_end(void) {
static int readline_init = 0;
#ifndef HISTORY_NO_DUP_FLAG
#define HISTORY_NO_DUP_FLAG 0x01
#endif
char *x_readline(const char *prompt) {
static char buffer[1024];
DWORD count = 0;