ecumachdep.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*+-------------------------------------------------------------------------
  2. ecumachdep.h
  3. --------------------------------------------------------------------------*/
  4. /*+:EDITS:*/
  5. /*:04-26-2000-11:15-wht@bob-RELEASE 4.42 */
  6. /*:01-24-1997-02:37-wht@yuriatin-SOURCE RELEASE 4.00 */
  7. /*:09-11-1996-20:00-wht@yuriatin-3.48-major telnet,curses,structural overhaul */
  8. /*:11-23-1995-11:20-wht@kepler-source control 3.37 for tsx-11 */
  9. /*:11-14-1995-10:23-wht@kepler-3.37.80-source control point: SOCKETS */
  10. /*:05-09-1995-18:33-wht@kepler-include vt/kd headers for linux */
  11. /*:01-12-1995-15:42-wht@n4hgf-apply Bob Bailin machdep.h vs console.h fix */
  12. /*:01-12-1995-15:19-wht@n4hgf-apply Andrew Chernov 8-bit clean+FreeBSD patch */
  13. /*:05-04-1994-04:38-wht@n4hgf-ECU release 3.30 */
  14. /*:01-16-1994-15:47-wht@n4hgf-creation */
  15. #ifndef _ecumachdep_h
  16. #define _ecumachdep_h
  17. #if defined(ISC) && !defined(USE_AT_ANSI)
  18. #define USE_AT_ANSI
  19. #endif
  20. #if defined(ISCSVR4) && !defined(USE_AT_ANSI)
  21. #define USE_AT_ANSI
  22. #endif
  23. #if defined(ESIXSVR4) && !defined(USE_AT_ANSI)
  24. #define USE_AT_ANSI
  25. #endif
  26. #ifdef __FreeBSD__
  27. #include <machine/console.h>
  28. #endif
  29. #ifdef linux
  30. #include <linux/vt.h>
  31. #include <linux/kd.h>
  32. #endif
  33. #if defined(M_SYSV) || defined(SCO32v5)
  34. #if defined(M_UNIX) || defined(SCO32v5)
  35. #include <sys/console.h>
  36. #else
  37. #include <sys/machdep.h>
  38. #endif
  39. /*
  40. * Thanks for the G2, er GIO_ATTR, to staceyc@sco.COM (Stacey Campbell)
  41. * GIO_ATTR was not defined in header files as of this writing
  42. */
  43. #if !defined(GIO_ATTR)
  44. #define GIO_ATTR ('a' << 8) | 0 /* Ioctl call for current attribute */
  45. #endif
  46. #else
  47. #if defined(USE_AT_ANSI)
  48. #include <sys/at_ansi.h>
  49. #include <sys/kd.h>
  50. #endif /* USE_AT_ANSI */
  51. #endif /* M_SYSV */
  52. #endif /* _ecumachdep_h */
  53. /* vi: set tabstop=4 shiftwidth=4: */
  54. /* end of ecumachdep.h */