Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.5 KiB

4 years ago
  1. /*
  2. * The defines in this file establish the environment we're compiling
  3. * in. Set these appropriately before compiling the editor.
  4. */
  5. /*
  6. * One (and only 1) of the following defines should be uncommented.
  7. * Most of the code is pretty machine-independent. Machine dependent
  8. * code goes in a file like tos.c or unix.c. The only other place
  9. * where machine dependent code goes is term.h for escape sequences.
  10. */
  11. #define NT
  12. /* #define ATARI /* For the Atari ST */
  13. /* #define UNIX /* System V or BSD */
  14. /* #define OS2 /* Microsoft OS/2 1.1 */
  15. /* #define DOS /* MSDOS 3.3 (on AT) */
  16. /*
  17. * If UNIX is defined above, then BSD may be defined.
  18. */
  19. #ifdef UNIX
  20. /* #define BSD /* Berkeley UNIX */
  21. #endif
  22. /*
  23. * If ATARI is defined, MINIX may be defined. Otherwise, the editor
  24. * is set up to compile using the Sozobon C compiler under TOS.
  25. */
  26. #ifdef ATARI
  27. #define MINIX /* Minix for the Atari ST */
  28. #endif
  29. /*
  30. * The yank buffer is still static, but its size can be specified
  31. * here to override the default of 4K.
  32. */
  33. /* #define YBSIZE 8192 /* yank buffer size */
  34. /*
  35. * STRCSPN should be defined if the target system doesn't have the
  36. * routine strcspn() available. See regexp.c for details.
  37. */
  38. #ifdef ATARI
  39. #ifdef MINIX
  40. #define STRCSPN
  41. #endif
  42. #endif
  43. /*
  44. * The following defines control the inclusion of "optional" features. As
  45. * the code size of the editor grows, it will probably be useful to be able
  46. * to tailor the editor to get the features you most want in environments
  47. * with code size limits.
  48. *
  49. * TILDEOP
  50. * Normally the '~' command works on a single character. This define
  51. * turns on code that allows it to work like an operator. This is
  52. * then enabled at runtime with the "tildeop" parameter.
  53. *
  54. * HELP
  55. * If defined, a series of help screens may be views with the ":help"
  56. * command. This eats a fair amount of data space.
  57. *
  58. * TERMCAP
  59. * Where termcap support is provided, it is generally optional. If
  60. * not enabled, you generally get hard-coded escape sequences for
  61. * some "reasonable" terminal. In Minix, this means the console. For
  62. * UNIX, this means an ANSI standard terminal. See the file "term.h"
  63. * for details about specific environments.
  64. *
  65. */
  66. #define TILDEOP /* enable tilde to be an operator */
  67. #define HELP /* enable help command */
  68. #ifndef NT
  69. #define TERMCAP /* enable termcap support */
  70. #endif