aboutsummaryrefslogtreecommitdiff
path: root/readline/rldefs.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-08-09 16:02:46 +0000
committerStu Grossman <grossman@cygnus>1996-08-09 16:02:46 +0000
commit46b6fdbd1166730455bff6b74718bbee8793c9c6 (patch)
tree1d20c683c7b550a236dad66887b0713ea70b6886 /readline/rldefs.h
parentbb1847ca10ff3e798e0f31f3c78d769de101b2eb (diff)
downloadgdb-46b6fdbd1166730455bff6b74718bbee8793c9c6.zip
gdb-46b6fdbd1166730455bff6b74718bbee8793c9c6.tar.gz
gdb-46b6fdbd1166730455bff6b74718bbee8793c9c6.tar.bz2
* bind.c complete.c history.c readline.c: Don't include sys/file.h.
* complete.c display.c parens.c readline.c rldefs.h rltty.c signals.c tilde.c: Change refs to _MSC_VER and __WIN32__ to _WIN32. * signals.c (rl_signal_handler): Ifdef out kill if _WIN32. * sysdep-norm.h: Ifdef out include of dirent.h if _WIN32. Include malloc.h if _WIN32.
Diffstat (limited to 'readline/rldefs.h')
-rw-r--r--readline/rldefs.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/readline/rldefs.h b/readline/rldefs.h
index 5eed2fd..d6b9b06 100644
--- a/readline/rldefs.h
+++ b/readline/rldefs.h
@@ -40,7 +40,7 @@
#define HAVE_BSD_SIGNALS
/* #define USE_XON_XOFF */
-#if defined(__MSDOS__) || defined(_MSC_VER)
+#if defined(__MSDOS__) || defined(_WIN32)
#define NO_SYS_FILE
#define SIGALRM 1234
#undef NEW_TTY_DRIVER
@@ -58,15 +58,10 @@
# undef HAVE_BSD_SIGNALS
#endif
-#if defined (__WIN32__) && !defined(_MSC_VER)
-#undef NEW_TTY_DRIVER
-#define MINIMAL
-#undef HAVE_BSD_SIGNALS
-#define TERMIOS_TTY_DRIVER
-#undef HANDLE_SIGNALS
-#include <termios.h>
-/*#define HAVE_POSIX_SIGNALS*/
-#endif
+#define ScreenCols() 80
+#define ScreenRows() 24
+#define ScreenSetCursor() abort();
+#define ScreenGetCursor() abort();
/* System V machines use termio. */
#if !defined (_POSIX_VERSION)
@@ -189,7 +184,7 @@ extern char *strchr (), *strrchr ();
/* If on, then readline handles signals in a way that doesn't screw. */
#define HANDLE_SIGNALS
-#if defined(__WIN32__) || defined(__MSDOS__)
+#if defined(_WIN32) || defined(__MSDOS__)
#undef HANDLE_SIGNALS
#endif