Attempting to fix #97 by moving TIOCSTI define for Cygwin - fix verfication needed.

This commit is contained in:
Martin Dvorak 2015-06-06 06:04:09 +02:00
parent 6c6969a410
commit 79781c138b
2 changed files with 4 additions and 4 deletions

View file

@ -36,10 +36,6 @@
#include "include/hstr_regexp.h"
#include "include/hstr_utils.h"
#ifdef __CYGWIN__
#define TIOCSTI 0x5412
#endif
#define SELECTION_CURSOR_IN_PROMPT -1
#define SELECTION_PREFIX_MAX_LNG 512
#define CMDLINE_LNG 2048

View file

@ -18,6 +18,10 @@
#include <stdbool.h>
#include <unistd.h>
#ifdef __CYGWIN__
#define TIOCSTI 0x5412
#endif
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))