2 #ifndef EL__OSDEP_WIN32_WIN32_H
3 #define EL__OSDEP_WIN32_WIN32_H
8 #define CHAR_DIR_SEP '\\'
10 #define STRING_DIR_SEP "\\"
14 void open_in_new_win32(struct terminal
*term
, unsigned char *exe_name
,
15 unsigned char *param
);
16 unsigned char *user_appdata_directory(void);
17 #define user_appdata_directory user_appdata_directory
22 int mkstemp (char *template);
23 int gettimeofday (struct timeval
*tv
, void *tz
);
25 /* fake termios for Win32 (excluding CygWin) */
27 #if !defined(__CYGWIN__)
34 #define ECHO 0x00000100
35 #define ICANON 0x00001000
36 #define IEXTEN 0x00002000
37 #define ECHONL 0x00000800
39 #define CSIZE 0x00000C00
40 #define OPOST 0x00000100
41 #define BRKINT 0x00000100
42 #define ICRNL 0x00000200
43 #define IGNBRK 0x00000400
44 #define IGNCR 0x00000800
45 #define INLCR 0x00002000
46 #define ISIG 0x00004000
47 #define ISTRIP 0x00008000
49 #define IXOFF 0x00010000
50 #define IXON 0x00020000
51 #define PARMRK 0x00040000
52 #define PARENB 0x00004000
53 #define CS8 0x00000C00
65 int tcgetattr(int fd
, struct termios
*termios_p
);
66 int tcsetattr(int fd
, int optional_actions
, const struct termios
*termios_p
);
67 #endif /* __CYGWIN__ */
69 #endif /* CONFIG_OS_WIN32 */