mirror of
https://github.com/dvorka/hstr.git
synced 2025-02-24 23:08:36 +08:00
Attempting to fix #97 by moving TIOCSTI define for Cygwin - fix verfication needed.
This commit is contained in:
parent
6c6969a410
commit
79781c138b
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue