OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [expect/] [expect_cf.h.in] - Rev 1777

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * Check for headers
 */
#ifndef __EXPECT_CF_H__
#define __EXPECT_CF_H__

#undef NO_STDLIB_H              /* Tcl requires this name */
#undef HAVE_STDARG_H
#undef HAVE_VARARGS_H
#undef HAVE_STROPTS_H
#undef HAVE_SYSCONF_H
#undef HAVE_SYS_FCNTL_H
#undef HAVE_SYS_WAIT_H
#undef HAVE_SYS_BSDTYPES_H      /* nice ISC special */
#undef HAVE_SYS_SELECT_H        /* nice ISC special */
#undef HAVE_SYS_TIME_H          /* nice ISC special */
#undef HAVE_SYS_PTEM_H          /* SCO needs this for window size */
#undef HAVE_STRREDIR_H          /* Solaris needs this for console redir */
#undef HAVE_STRPTY_H            /* old-style Dynix ptys need this */
#undef HAVE_UNISTD_H
#undef HAVE_SYSMACROS_H
#undef HAVE_INTTYPES_H
#undef HAVE_TIOCGWINSZ_IN_TERMIOS_H
#undef HAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H

#undef pid_t
#undef RETSIGTYPE
#undef TIME_WITH_SYS_TIME       /* ok to include both time.h and sys/time.h */

/*
 * This section is for compile macros needed by
 * everything else.
 */

/*
 * Check for functions
 */
#undef HAVE_MEMCPY
#undef HAVE_SYSCONF
#undef SIMPLE_EVENT
#undef HAVE_STRFTIME
#undef HAVE_MEMMOVE
#undef HAVE_TIMEZONE            /* timezone() a la Pyramid */
#undef HAVE_STRCHR

#ifndef HAVE_STRCHR
#define strchr(s,c) index(s,c)
#endif /* HAVE_STRCHR */

/*
 * timezone
 */
#undef HAVE_SV_TIMEZONE

/*
 * wait status type
 */
#undef NO_UNION_WAIT

#undef WNOHANG_REQUIRES_POSIX_SOURCE

/*
 * Signal stuff. Setup the return type
 * and if signals need to be re-armed.
 */
/*#ifndef RETSIGTYPE*/
/*#define RETSIGTYPE void*/
/*#endif*/
#undef REARM_SIG

/*
 * Generate correct type for select mask
 */
#ifndef SELECT_MASK_TYPE
#define SELECT_MASK_TYPE fd_set
#endif

/*
 * Check how stty works
 */
#undef STTY_READS_STDOUT

/*
 * Check for tty/pty functions and structures
 */
#undef POSIX
#undef HAVE_TCSETATTR
#undef HAVE_TERMIO
#undef HAVE_TERMIOS
#undef HAVE_SGTTYB
#undef HAVE__GETPTY
#undef HAVE_GETPTY
#undef HAVE_OPENPTY
#undef HAVE_PTC
#undef HAVE_PTC_PTS
#undef HAVE_PTYM
#undef HAVE_PTYTRAP
#undef HAVE_PTMX
#undef HAVE_PTMX_BSD
#undef HAVE_SCO_CLIST_PTYS

/*
 * Special hacks
 */
#undef CONVEX
#undef SOLARIS
#undef _XOPEN_SOURCE

#ifdef SOLARIS
#define __EXTENSIONS__
#endif /* SOLARIS */

#undef WNOHANG_BACKUP_VALUE

#endif  /* __EXPECT_CF_H__ */

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.