forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -26,11 +26,17 @@ extern char *alloca ();
|
||||
#endif /* USGr4 */
|
||||
#endif /* USG && TIOCGWINSZ */
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <dirent.h>
|
||||
typedef struct dirent dirent;
|
||||
#endif
|
||||
|
||||
/* SVR4 systems should use <termios.h> rather than <termio.h>. */
|
||||
|
||||
#if defined (USGr4)
|
||||
#define _POSIX_VERSION
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user